♻️ refactor: update index.ts

swadhinbiswas committed 3 months ago
5c6ee97
1 parent 5688a8b
commit 5c6ee97
1 file changed
+2 -2
▼src/pages/api/repos/[owner]/[repo]/webhooks/index.ts
+2-2
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, 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
import crypto from 'crypto';
14
14
15
15
import { withErrorHandler } from "@/lib/errors";
16
16