Dax Raad hace 5 meses
padre
commit
65dc19e85a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cloud/app/src/routes/debug/index.ts

+ 1 - 1
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
     }),