Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update backend/src/services/app-connection/github/github-connection-fns.ts
x032205352ef050c3fb
diff --git a/backend/src/services/app-connection/github/github-connection-fns.ts b/backend/src/services/app-connection/github/github-connection-fns.tsindex b76987fc1b..a71036d829 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 <T, R = T[]>(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 lastif (lastPageUrl) {const lastPageParam = new URL(lastPageUrl).searchParams.get("page");const totalPages = lastPageParam ? parseInt(lastPageParam, 10) : 1;