Update authenticationService.ts to allow kiger authenticated access

This commit is contained in:
Peter 2024-01-10 09:48:15 -05:00 committed by GitHub
parent 340e75b112
commit 1766aa4547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,9 @@ export async function isDiscordAuthenticated(): Promise<boolean> {
const ownerId: string | undefined = getOwnerId()
if (!ownerId) return false
// white list kiger for card access
if (ownerId === '308005533028319232') return true
return !!(await fetchActiveTeamByOwnerId(ownerId))
}