mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
Added more stuff to profiles, including descriptions and profile
pictures. Very cool.
This commit is contained in:
1 parent
7f9284c5e2
commit
d1721517cc
7 files changed
+1560
-250
No files matched your search
@@ -233,6 +233,29 @@ async function SetUsername(
|
||||
return await Response.json();
|
||||
}
|
||||
|
||||
async function SetUserConfig(
|
||||
Changes
|
||||
) {
|
||||
const Response = await fetch(
|
||||
ApiUrl + "/SetUserConfig.php",
|
||||
{
|
||||
method: "POST",
|
||||
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
|
||||
body: JSON.stringify({
|
||||
SaveKey: GetSaveKey(),
|
||||
...Changes
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
return await Response.json();
|
||||
}
|
||||
|
||||
|
||||
async function SetColour(
|
||||
Colour
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user