♻️ refactor: update protection.ts

swadhinbiswas committed 3 months ago
ea46cef
1 parent 31ca9ff
commit ea46cef
1 file changed
+1 -1
▼src/pages/api/repos/[owner]/[repo]/protection.ts
+1-1
8
8
import { eq, and } from "drizzle-orm";
9
9
import { getDatabase, schema } from "@/db";
10
10
import { getUserFromRequest } from "@/lib/auth";
11
-import { parseBody, unauthorized, badRequest, notFound, success, serverError } from "@/lib/api";
11
+import { parseBody, unauthorized, notFound, success } from "@/lib/api";
12
12
import { z } from "zod";
13
13
import crypto from "crypto";
14
14
15
15