Skip to content

Commit

Permalink
feat: add .delete() method to api module
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Feb 2, 2021
1 parent 58655e9 commit 501441b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/src/modules/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ define('api', () => {
'x-csrf-token': config.csrf_token,
},
}, onSuccess);
api.delete = api.del;

return api;
});

0 comments on commit 501441b

Please sign in to comment.