diff options
Diffstat (limited to 'cloud/app')
| -rw-r--r-- | cloud/app/src/context/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/app/src/context/auth.ts b/cloud/app/src/context/auth.ts index a167dd3d4..48afd4e70 100644 --- a/cloud/app/src/context/auth.ts +++ b/cloud/app/src/context/auth.ts @@ -52,7 +52,7 @@ export const getActor = query(async (): Promise<Actor.Info> => { } } const workspaceHint = splits[1] - const accounts = Object.keys(auth.data.account) + const accounts = Object.keys(auth.data.account ?? {}) const result = await Database.transaction(async (tx) => { return await tx .select({ |
