From 91fb9e75de718dda02279fa04cf91da0c6ca9369 Mon Sep 17 00:00:00 2001 From: Shivaditya Shivganesh Date: Thu, 9 Jan 2025 21:35:40 -0500 Subject: [PATCH] fix: graphql formatting --- functions/issue-scraper.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/functions/issue-scraper.ts b/functions/issue-scraper.ts index a32b2db..9c8a09f 100644 --- a/functions/issue-scraper.ts +++ b/functions/issue-scraper.ts @@ -142,14 +142,9 @@ function markdownToPlainText(markdown: string | null): string | null { return md.plainText; } -const SEARCH_ISSUES_QUERY = /* GraphQL */` +const SEARCH_ISSUES_QUERY = /* GraphQL */ ` query SearchIssues($searchText: String!, $after: String) { - search( - query: $searchText, - type: ISSUE, - first: 100, - after: $after - ) { + search(query: $searchText, type: ISSUE, first: 100, after: $after) { pageInfo { hasNextPage endCursor