mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 05:29:53 +00:00
zen: remove unnecessary transactions
This commit is contained in:
parent
1eaf5c31d3
commit
dc32705bc9
4 changed files with 8 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue