diff options
| author | Frank <[email protected]> | 2025-10-02 17:55:54 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-10-02 17:55:54 -0400 |
| commit | a8341e2b8be40f93aa4dddf5349a420a03966fcf (patch) | |
| tree | 954f074a87949ea6684a65d4210e43d162721f22 /packages/console/core/src/account.ts | |
| parent | 73115efab13840612bc3e6d218679e1bdf6ae3c0 (diff) | |
| download | opencode-a8341e2b8be40f93aa4dddf5349a420a03966fcf.tar.gz opencode-a8341e2b8be40f93aa4dddf5349a420a03966fcf.zip | |
wip: zen
Diffstat (limited to 'packages/console/core/src/account.ts')
| -rw-r--r-- | packages/console/core/src/account.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/console/core/src/account.ts b/packages/console/core/src/account.ts index 3bed2bef1..cd1eed4b1 100644 --- a/packages/console/core/src/account.ts +++ b/packages/console/core/src/account.ts @@ -54,7 +54,7 @@ export namespace Account { .select(getTableColumns(WorkspaceTable)) .from(WorkspaceTable) .innerJoin(UserTable, eq(UserTable.workspaceID, WorkspaceTable.id)) - .where(and(eq(UserTable.email, actor.properties.email), isNull(WorkspaceTable.timeDeleted))) + .where(and(eq(UserTable.accountID, actor.properties.accountID), isNull(WorkspaceTable.timeDeleted))) .execute(), ) } |
