feature: avatar uploads

This commit is contained in:
Andy Burke 2025-08-12 16:00:36 -07:00
parent ffe0678e5b
commit 01768da647
7 changed files with 139 additions and 18 deletions

View file

@ -24,6 +24,8 @@ const api = {
if (options.json) {
headers["Content-Type"] = "application/json";
fetch_options.body = JSON.stringify(options.json);
} else if (options.body) {
fetch_options.body = options.body;
}
const response = await fetch(url, fetch_options);