feat: add .delete() method to api module

This commit is contained in:
Julian Lam
2021-02-02 10:27:28 -05:00
parent 58655e9a0b
commit 501441b736

View File

@@ -77,6 +77,7 @@ define('api', () => {
'x-csrf-token': config.csrf_token,
},
}, onSuccess);
api.delete = api.del;
return api;
});