diff options
| author | Dax Raad <[email protected]> | 2025-09-01 03:15:38 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-01 03:15:38 -0400 |
| commit | 721869353bc8210f5b39f3ccfffe69f2ae804273 (patch) | |
| tree | 37edf8830cee62294a50ccd2a9e546ab8b80936c /cloud | |
| parent | 6d22ade771399ef2cee941c6beeb975c9ec080cb (diff) | |
| download | opencode-721869353bc8210f5b39f3ccfffe69f2ae804273.tar.gz opencode-721869353bc8210f5b39f3ccfffe69f2ae804273.zip | |
wip: sync
Diffstat (limited to 'cloud')
| -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({ |
