♻️ refactor: update index.ts
swadhinbiswas committed 3 months ago
5309f84
1 parent ec58f49
commit 5309f84
1 file changed
+2 -2
Showing 1 changed file+2-2
▼src/pages/api/repos/[owner]/[repo]/labels/index.ts
+2-2
| @@ -8,8 +8,8 @@ import { getDatabase, schema } from "@/db"; | ||
8 | 8 | import { labels, repositories, users } from '@/db/schema'; |
9 | 9 | import { getUserFromRequest } from '@/lib/auth'; |
10 | 10 | import { canWriteRepo } from '@/lib/permissions'; |
11 | -import { success, created, badRequest, unauthorized, notFound, serverError, forbidden } from '@/lib/api'; | |
12 | -import { generateId, now } from '@/lib/utils'; | |
11 | +import { success, created, badRequest, unauthorized, notFound, forbidden } from '@/lib/api'; | |
12 | +import { generateId } from '@/lib/utils'; | |
13 | 13 | |
14 | 14 | import { withErrorHandler } from "@/lib/errors"; |
15 | 15 | import { logger } from "@/lib/logger"; |
16 | 16 | |