mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
zen: fix removing provider
This commit is contained in:
parent
88235dc618
commit
44cdde5422
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export namespace Provider {
|
|||
}),
|
||||
async ({ provider }) => {
|
||||
Actor.assertAdmin()
|
||||
Database.use((tx) =>
|
||||
return Database.use((tx) =>
|
||||
tx
|
||||
.delete(ProviderTable)
|
||||
.where(and(eq(ProviderTable.provider, provider), eq(ProviderTable.workspaceID, Actor.workspace()))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue