diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-19 18:58:54 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-19 18:58:54 +0100 |
| commit | 25228df6d13b5e8541672c4cdd84e200ff56a4c4 (patch) | |
| tree | 924cc6bdc00440c6bf592b04602261cdab17d60a /static/api/rest.js | |
| parent | 4c06eb64cbed3562e428ce59857d1763098638f3 (diff) | |
add profile settings to backend and add image loader
Diffstat (limited to 'static/api/rest.js')
| -rw-r--r-- | static/api/rest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/api/rest.js b/static/api/rest.js index b314615..6b14034 100644 --- a/static/api/rest.js +++ b/static/api/rest.js @@ -14,7 +14,7 @@ export function get(url) { return handle_fetch(fetch(url)); } -export async function post(url, body) { +export function post(url, body) { return handle_fetch(fetch(url, { method: 'POST', body: JSON.stringify(body), |