mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-26 18:26:26 +00:00
Forgot an await
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user