diff options
Diffstat (limited to 'packages/cloud/app/src/routes/debug/index.ts')
| -rw-r--r-- | packages/cloud/app/src/routes/debug/index.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/cloud/app/src/routes/debug/index.ts b/packages/cloud/app/src/routes/debug/index.ts deleted file mode 100644 index 8c7eb7bd8..000000000 --- a/packages/cloud/app/src/routes/debug/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type { APIEvent } from "@solidjs/start/server" -import { json } from "@solidjs/router" -import { Database } from "@opencode/cloud-core/drizzle/index.js" -import { UserTable } from "@opencode/cloud-core/schema/user.sql.js" - -export async function GET(evt: APIEvent) { - return json({ - data: await Database.use(async (tx) => { - const result = await tx.$count(UserTable) - return result - }), - }) -} |
