summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-01 03:15:38 -0400
committerDax Raad <[email protected]>2025-09-01 03:15:38 -0400
commit721869353bc8210f5b39f3ccfffe69f2ae804273 (patch)
tree37edf8830cee62294a50ccd2a9e546ab8b80936c /cloud/app/src
parent6d22ade771399ef2cee941c6beeb975c9ec080cb (diff)
downloadopencode-721869353bc8210f5b39f3ccfffe69f2ae804273.tar.gz
opencode-721869353bc8210f5b39f3ccfffe69f2ae804273.zip
wip: sync
Diffstat (limited to 'cloud/app/src')
-rw-r--r--cloud/app/src/context/auth.ts2
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({