Skip to content

Commit cb8c6f0

Browse files
committed
fix: Fix Updated Errs
Signed-off-by: aceppaluni <aceppaluni@gmail.com>
1 parent 2346729 commit cb8c6f0

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

src/app/api/issues/route.ts

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
1-
import { searchIssues as searchIssues } from "src/lib/github/issues";
2-
3-
/*interface GitHubIssue {
4-
id: number;
5-
title: string;
6-
html_url: string;
7-
repository_url: string;
8-
}
9-
10-
interface GitHubSearchResponse {
11-
items: GitHubIssue[];
12-
error?: string;
13-
}*/
14-
15-
//type SearchIssuesFn = (_query: string) => Promise<GitHubSearchResponse>;
16-
//const searchIssues = rawSearchIssues as SearchIssuesFn;
17-
18-
/*export async function GET(req: Request) {
19-
const { searchParams } = new URL(req.url);
20-
const q = searchParams.get("q") ?? "";
21-
22-
const data = await searchIssues(q);
23-
24-
return Response.json(data);
25-
}*/
1+
import { searchIssues } from "../../../lib/github/issues";
262

273
export async function GET(req: Request) {
284
const { searchParams } = new URL(req.url);

0 commit comments

Comments
 (0)