import and export
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ export function apiPost(url, body, options = {}) {
|
||||
"X-CSRF-TOKEN": document.querySelector('meta[name="csrf-token"]').content,
|
||||
...options.headers,
|
||||
},
|
||||
});
|
||||
}).then((r) => r.json());
|
||||
}
|
||||
|
||||
export function apiGet(url, options = {}) {
|
||||
|
||||
Reference in New Issue
Block a user