There was an error while loading. Please reload this page.
1 parent 7e45c4a commit c7158abCopy full SHA for c7158ab
1 file changed
src/app/api/issues/route.ts
@@ -12,8 +12,9 @@ interface GitHubSearchResponse {
12
error?: string;
13
}
14
15
-type searchIssues = (query: string) => Promise<GitHubSearchResponse>;
16
-const searchIssues = rawSearchIssues as searchIssues;
+type SearchIssuesFn = (query: string) => Promise<GitHubSearchResponse>;
+/*const searchIssues = rawSearchIssues as searchIssues;*/
17
+const searchIssues = rawSearchIssues as SearchIssuesFn;
18
19
export async function GET(req: Request) {
20
const { searchParams } = new URL(req.url);
0 commit comments