mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-28 05:23:19 +08:00
chore: generate
This commit is contained in:
@@ -142,11 +142,7 @@ async function requireBlackAccount(account: { id: string; email: string }): Prom
|
||||
.from(UserTable)
|
||||
.innerJoin(BillingTable, eq(BillingTable.workspaceID, UserTable.workspaceID))
|
||||
.where(
|
||||
and(
|
||||
eq(UserTable.accountID, account.id),
|
||||
isNull(UserTable.timeDeleted),
|
||||
isNotNull(BillingTable.subscriptionID),
|
||||
),
|
||||
and(eq(UserTable.accountID, account.id), isNull(UserTable.timeDeleted), isNotNull(BillingTable.subscriptionID)),
|
||||
)
|
||||
.limit(1)
|
||||
.then((rows) => rows[0]),
|
||||
|
||||
Reference in New Issue
Block a user