aboutsummaryrefslogtreecommitdiff
path: root/assets_src/js/lib
diff options
context:
space:
mode:
authorJan C <jan@ruken.pw>2016-02-15 08:48:44 (UTC)
committerJan C <jan@ruken.pw>2016-02-15 08:48:44 (UTC)
commit0d76691705dbbaa8b3972e09ed8df1e590b38da5 (patch)
treedf9c8ddcf95523eb90824f47669f529034914e13 /assets_src/js/lib
parentf01703339943c432c4f47113983d90e118b7ff2c (diff)
grils können nun gelöscht werden.
Diffstat (limited to 'assets_src/js/lib')
-rw-r--r--assets_src/js/lib/ajax.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets_src/js/lib/ajax.js b/assets_src/js/lib/ajax.js
index 048f516..b189a92 100644
--- a/assets_src/js/lib/ajax.js
+++ b/assets_src/js/lib/ajax.js
@@ -58,3 +58,6 @@ export async function get(url, options) {
58export async function post(url, body, options) { 58export async function post(url, body, options) {
59 return request('POST', url, body, options); 59 return request('POST', url, body, options);
60} 60}
61export async function del(url, body, options) {
62 return request('DELETE', url, body, options);
63}