summary refs log tree commit diff
path: root/slowcord/public
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
commit0cadc8611f361fdf335f57b352b6c8dd574a2fd1 (patch)
treeacd47471f402ed5d948b09b069ab8b8a1510c763 /slowcord/public
parentStyling, login whitelists (diff)
downloadserver-0cadc8611f361fdf335f57b352b6c8dd574a2fd1.tar.xz
Forgot an await
Diffstat (limited to 'slowcord/public')
-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";