Skip to content

The open source coding agent.

TypeScript

wip: cloud

Dax Raad65dc19e85a1f
diff --git a/cloud/app/src/routes/debug/index.ts b/cloud/app/src/routes/debug/index.ts
index 420cff2a41f..8c7eb7bd8fc 100644
--- a/cloud/app/src/routes/debug/index.ts
+++ b/cloud/app/src/routes/debug/index.ts
@@ -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
}),