♻️ refactor: update index.ts

swadhinbiswas committed 3 months ago
31ca9ff
1 parent 5309f84
commit 31ca9ff
1 file changed
+1 -1
▼src/pages/api/repos/[owner]/[repo]/projects/index.ts
+1-1
1
1
2
2
import type { APIRoute } from "astro";
3
-import { getDatabase, schema } from "@/db";
3
+import { getDatabase } from "@/db";
4
4
import { getRepoAndUser } from "@/lib/auth";
5
5
import { success, badRequest, serverError, unauthorized } from "@/lib/api";
6
6
import { eq, desc } from "drizzle-orm";
7
7