diff options
| author | Frank <[email protected]> | 2025-12-01 18:33:32 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-12-01 18:33:32 -0500 |
| commit | dc32705bc9c925427de0fcb9994993855503024f (patch) | |
| tree | 92c34a208909ea82c25085ede6dd719306c56f94 /packages/console/function/src | |
| parent | 1eaf5c31d3789f903fd9dec40278e3311973172f (diff) | |
| download | opencode-dc32705bc9c925427de0fcb9994993855503024f.tar.gz opencode-dc32705bc9c925427de0fcb9994993855503024f.zip | |
zen: remove unnecessary transactions
Diffstat (limited to 'packages/console/function/src')
| -rw-r--r-- | packages/console/function/src/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/console/function/src/auth.ts b/packages/console/function/src/auth.ts index f1f341cec..742e0d567 100644 --- a/packages/console/function/src/auth.ts +++ b/packages/console/function/src/auth.ts @@ -194,7 +194,7 @@ export default { // Get workspace await Actor.provide("account", { accountID, email }, async () => { await User.joinInvitedWorkspaces() - const workspaces = await Database.transaction(async (tx) => + const workspaces = await Database.use((tx) => tx .select({ id: WorkspaceTable.id }) .from(WorkspaceTable) |
