♻️ refactor: update [userId].ts
swadhinbiswas committed 3 months ago
6c3be43
1 parent 1c8622f
commit 6c3be43
1 file changed
+1 -1
Showing 1 changed file+1-1
▼src/pages/api/repos/[owner]/[repo]/collaborators/[userId].ts
+1-1
| @@ -8,7 +8,7 @@ import { getDatabase, schema } from "@/db"; | ||
8 | 8 | import { repositoryCollaborators, repositories, users } from '@/db/schema'; |
9 | 9 | import { getUserFromRequest } from '@/lib/auth'; |
10 | 10 | import { canAdminRepo } from '@/lib/permissions'; |
11 | -import { success, badRequest, unauthorized, notFound, serverError, forbidden } from '@/lib/api'; | |
11 | +import { success, badRequest, unauthorized, notFound, forbidden } from '@/lib/api'; | |
12 | 12 | |
13 | 13 | import { withErrorHandler } from "@/lib/errors"; |
14 | 14 | import { logger } from "@/lib/logger"; |
15 | 15 | |