refactor: Add missing properties to initLoggedInUser function

This commit is contained in:
Frederico Santos 2024-06-19 17:37:11 +01:00
parent ee5d689575
commit dbb1fc1ce2

View File

@ -13,7 +13,7 @@ export let loggedInUser: UserInfo = null;
export const clientSessionId = Utils.randomString(32);
export function initLoggedInUser(): void {
loggedInUser = { username: "Guest", lastSessionSlot: -1 };
loggedInUser = { username: "Guest", lastSessionSlot: -1, discordId: "", googleId: ""};
}
export function updateUserInfo(): Promise<[boolean, integer]> {