aboutsummaryrefslogtreecommitdiff
path: root/assets_src/js/lib
diff options
context:
space:
mode:
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}