diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-06-27 16:00:28 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-06-27 16:00:28 +1000 |
commit | 0cadc8611f361fdf335f57b352b6c8dd574a2fd1 (patch) | |
tree | acd47471f402ed5d948b09b069ab8b8a1510c763 /slowcord/public | |
parent | Styling, login whitelists (diff) | |
download | server-0cadc8611f361fdf335f57b352b6c8dd574a2fd1.tar.xz |
Forgot an await
Diffstat (limited to 'slowcord/public')
-rw-r--r-- | slowcord/public/login.html | 2 |
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"; |