♻️ refactor: update test.ts
swadhinbiswas committed 3 months ago
5688a8b
1 parent 3e37e83
commit 5688a8b
1 file changed
+1 -2
Showing 1 changed file+1-2
▼src/pages/api/repos/[owner]/[repo]/webhooks/[id]/test.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 | import crypto from 'crypto'; |
14 | 13 | |
15 | 14 | import { withErrorHandler } from "@/lib/errors"; |
16 | 15 | |