Skip to content

Commit

Permalink
fix: Fix after argument for collaborators request
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Apr 26, 2023
1 parent 0cbc54f commit 8d8d747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/lib/backends/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ export async function getCollaborators(
try {
const { repository }: { repository: GitHubRepository } = await makeGraphql()({
query: `query collaborators($owner: String!, $repo: String!${endCursor ? ', $after: String!' : ''}) {
repository(owner: $owner, name: $repo${endCursor ? ', after: $after' : ''}) {
collaborators(first: 100, affiliation: ${affiliation}) {
repository(owner: $owner, name: $repo) {
collaborators(first: 100, affiliation: ${affiliation}${endCursor ? ', after: $after' : ''}) {
pageInfo {
endCursor
hasNextPage
Expand Down

0 comments on commit 8d8d747

Please # to comment.