mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-07 16:55:51 +00:00
refactor: Add missing properties to initLoggedInUser function
This commit is contained in:
parent
ee5d689575
commit
dbb1fc1ce2
@ -13,7 +13,7 @@ export let loggedInUser: UserInfo = null;
|
|||||||
export const clientSessionId = Utils.randomString(32);
|
export const clientSessionId = Utils.randomString(32);
|
||||||
|
|
||||||
export function initLoggedInUser(): void {
|
export function initLoggedInUser(): void {
|
||||||
loggedInUser = { username: "Guest", lastSessionSlot: -1 };
|
loggedInUser = { username: "Guest", lastSessionSlot: -1, discordId: "", googleId: ""};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function updateUserInfo(): Promise<[boolean, integer]> {
|
export function updateUserInfo(): Promise<[boolean, integer]> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user