♻️ refactor: update user.ts

swadhinbiswas committed 3 months ago
67c4584
1 parent d35e62d
commit 67c4584
1 file changed
+1 -2
Showing 1 changed file+1-2
▼src/pages/api/stacks/user.ts
+1-2
1
1
import { getDatabase, schema } from "@/db";
2
2
import { type APIContext } from "astro";
3
-import { and, desc, eq, inArray } from "drizzle-orm";
3
+import { desc, eq, inArray } from "drizzle-orm";
4
4
import { success, unauthorized } from "@/lib/api";
5
-import { logger } from "@/lib/logger";
6
5
import { withErrorHandler } from "@/lib/errors";
7
6
8
7
export const GET = withErrorHandler(async ({ locals }: APIContext) => {
9
8