Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
d2d33e6a13
|
@ -8,9 +8,7 @@
|
||||||
<body style="background-color: transparent;">
|
<body style="background-color: transparent;">
|
||||||
<script>
|
<script>
|
||||||
async function deleteacct() {
|
async function deleteacct() {
|
||||||
if (confirm("Are you SURE you would like to delete your account forever?") != true) {
|
if (confirm("Are you SURE you would like to delete your account forever?") == true) {
|
||||||
break
|
|
||||||
}
|
|
||||||
await fetch(remote + "/api/deleteaccount", {
|
await fetch(remote + "/api/deleteaccount", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
@ -30,6 +28,7 @@
|
||||||
doStuff()
|
doStuff()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fetch("/api/userinfo", {
|
fetch("/api/userinfo", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
Reference in New Issue