wip: cloud

This commit is contained in:
Dax Raad
2025-09-01 02:57:47 -04:00
parent cfcfceca6d
commit 65dc19e85a

View File

@@ -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
}),