client
client copied to clipboard
Deleting accounts not implemented
function deleteAccount(token:string, api:string){
const password = prompt("Password for account to be deleted");
fetch(api+"/users/@me/delete/", {
headers: {
authorization:token
},
body:JSON.stringify({password}),
method:"POST"
});
}
add a button