From 1766aa45473d385b20b8edfcd9749b49d801ef18 Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 10 Jan 2024 09:48:15 -0500 Subject: [PATCH] Update authenticationService.ts to allow kiger authenticated access --- src/services/authenticationService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/services/authenticationService.ts b/src/services/authenticationService.ts index 33f0156..d8ce1e3 100644 --- a/src/services/authenticationService.ts +++ b/src/services/authenticationService.ts @@ -14,6 +14,9 @@ export async function isDiscordAuthenticated(): Promise { const ownerId: string | undefined = getOwnerId() if (!ownerId) return false + // white list kiger for card access + if (ownerId === '308005533028319232') return true + return !!(await fetchActiveTeamByOwnerId(ownerId)) }