From fc4f281408c56ab12db571a470456212a479edf5 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 18 Sep 2025 01:32:40 -0400 Subject: wip: zen --- cloud/app/src/routes/debug/index.ts | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 cloud/app/src/routes/debug/index.ts (limited to 'cloud/app/src/routes/debug') diff --git a/cloud/app/src/routes/debug/index.ts b/cloud/app/src/routes/debug/index.ts deleted file mode 100644 index 8c7eb7bd8..000000000 --- a/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 - }), - }) -} -- cgit v1.2.3