mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 11:25:15 +00:00
wip: cloud
This commit is contained in:
parent
cfcfceca6d
commit
65dc19e85a
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import { UserTable } from "@opencode/cloud-core/schema/user.sql.js"
|
|||
|
||||
export async function GET(evt: APIEvent) {
|
||||
return json({
|
||||
data: Database.use(async (tx) => {
|
||||
data: await Database.use(async (tx) => {
|
||||
const result = await tx.$count(UserTable)
|
||||
return result
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue