Skip to content

Commit c7158ab

Browse files
committed
fix: Fix q in Type Attempt
Signed-off-by: aceppaluni <aceppaluni@gmail.com>
1 parent 7e45c4a commit c7158ab

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/app/api/issues/route.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ interface GitHubSearchResponse {
1212
error?: string;
1313
}
1414

15-
type searchIssues = (query: string) => Promise<GitHubSearchResponse>;
16-
const searchIssues = rawSearchIssues as searchIssues;
15+
type SearchIssuesFn = (query: string) => Promise<GitHubSearchResponse>;
16+
/*const searchIssues = rawSearchIssues as searchIssues;*/
17+
const searchIssues = rawSearchIssues as SearchIssuesFn;
1718

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

0 commit comments

Comments
 (0)