fix: Update Discord login handling to use async/await for better error handling
All checks were successful
SteamWarCI Build successful
All checks were successful
SteamWarCI Build successful
This commit is contained in:
@@ -25,6 +25,8 @@ export class AuthV2Repo {
|
||||
this.request("/data/me").then((value) => {
|
||||
if (value.ok) {
|
||||
loggedIn.set(true);
|
||||
} else {
|
||||
loggedIn.set(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user