♻️ refactor: update comments.ts
swadhinbiswas committed 3 months ago
855904e
1 parent 962fa93
commit 855904e
1 file changed
+1 -1
Showing 1 changed file+1-1
▼src/pages/api/repos/[owner]/[repo]/issues/[number]/comments.ts
+1-1
| @@ -18,7 +18,7 @@ import type { APIRoute } from "astro"; | ||
18 | 18 | import { and, asc, eq } from "drizzle-orm"; |
19 | 19 | import type { NodePgDatabase } from "drizzle-orm/node-postgres"; |
20 | 20 | |
21 | -export const GET: APIRoute = async ({ request, params }) => { | |
21 | +export const GET: APIRoute = async ({ params }) => { | |
22 | 22 | try { |
23 | 23 | const { owner, repo, number } = params; |
24 | 24 | if (!owner || !repo || !number) return badRequest("Missing parameters"); |
25 | 25 | |