♻️ refactor: update [id].ts
swadhinbiswas committed 3 months ago
3e37e83
1 parent 84bfa47
commit 3e37e83
1 file changed
+1 -2
Showing 1 changed file+1-2
▼src/pages/api/repos/[owner]/[repo]/webhooks/[id].ts
+1-2
| @@ -8,8 +8,7 @@ import { getDatabase, schema } from "@/db"; | ||
8 | 8 | import { webhooks, 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'; | |
12 | -import { now } from '@/lib/utils'; | |
11 | +import { success, badRequest, unauthorized, notFound, forbidden } from '@/lib/api'; | |
13 | 12 | |
14 | 13 | import { withErrorHandler } from "@/lib/errors"; |
15 | 14 | import { logger } from "@/lib/logger"; |
16 | 15 | |