From 352ef050c3fb014cf636e7947947d94607264417 Mon Sep 17 00:00:00 2001 From: x032205 <120525481+x032205@users.noreply.github.com> Date: Thu, 7 Aug 2025 20:26:12 -0400 Subject: [PATCH] Update backend/src/services/app-connection/github/github-connection-fns.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../src/services/app-connection/github/github-connection-fns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/app-connection/github/github-connection-fns.ts b/backend/src/services/app-connection/github/github-connection-fns.ts index b76987fc1..a71036d82 100644 --- a/backend/src/services/app-connection/github/github-connection-fns.ts +++ b/backend/src/services/app-connection/github/github-connection-fns.ts @@ -200,7 +200,7 @@ export const makePaginatedGitHubRequest = async ( const linkHeader = parseGitHubLinkHeader(firstResponse.headers.link as string | undefined); const lastPageUrl = linkHeader.last; - // If there's a last page URL, get it's page number and concurrently fetch every page starting from 2 to last + // If there's a last page URL, get its page number and concurrently fetch every page starting from 2 to last if (lastPageUrl) { const lastPageParam = new URL(lastPageUrl).searchParams.get("page"); const totalPages = lastPageParam ? parseInt(lastPageParam, 10) : 1;