From dbb1fc1ce22d7e64a6818b6f6b5ad7fdbab2914b Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Wed, 19 Jun 2024 17:37:11 +0100 Subject: [PATCH] refactor: Add missing properties to initLoggedInUser function --- src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.ts b/src/account.ts index f6dd3d479a5..7fd1d208496 100644 --- a/src/account.ts +++ b/src/account.ts @@ -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]> {