summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-06-27 16:00:28 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-06-27 16:00:28 +1000
commit297d8849286430e082ba812cf789a7550adb5d7c (patch)
tree75b9059fed2480d1e6c7a54081245321b436ac4e
parentStyling, login whitelists (diff)
downloadserver-297d8849286430e082ba812cf789a7550adb5d7c.tar.xz
Forgot an await
-rw-r--r--slowcord/public/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/slowcord/public/login.html b/slowcord/public/login.html

index 1d9b9707..6b1f879c 100644 --- a/slowcord/public/login.html +++ b/slowcord/public/login.html
@@ -150,7 +150,7 @@ }) }); - const json = response.json(); + const json = await response.json(); if (json.token) { window.localStorage.setItem("token", json.token); window.location.href = "/app";