♻️ refactor: update [labelId].ts

swadhinbiswas committed 3 months ago
ec58f49
1 parent c68bdde
commit ec58f49
1 file changed
+1 -1
▼src/pages/api/repos/[owner]/[repo]/labels/[labelId].ts
+1-1
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, 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