♻️ refactor: update index.ts
swadhinbiswas committed 3 months ago
795e3da
1 parent 8fd7f76
commit 795e3da
1 file changed
+1 -1
Showing 1 changed file+1-1
▼src/pages/api/user/index.ts
+1-1
| @@ -9,7 +9,7 @@ import { eq } from "drizzle-orm"; | ||
9 | 9 | import { getDatabase, schema } from "@/db"; |
10 | 10 | import { users } from "@/db/schema/users"; |
11 | 11 | import { getUserFromRequest } from "@/lib/auth"; |
12 | -import { unauthorized, success, serverError } from "@/lib/api"; | |
12 | +import { unauthorized, success } from "@/lib/api"; | |
13 | 13 | |
14 | 14 | import { withErrorHandler } from "@/lib/errors"; |
15 | 15 | |
16 | 16 | |