Skip to content

Commit

Permalink
Merge pull request #32 from ITS-Unibas/per_page
Browse files Browse the repository at this point in the history
adds per_page limit to max
  • Loading branch information
TK5-Tim authored Jul 17, 2024
2 parents 673f33d + eebb7e0 commit 5f5d3c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WASP/Private/Invoke-GetRequest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function Invoke-GetRequest {
Method = 'GET'
Uri = $url
Headers = @{Authorization = "Token {0}" -f $config.Application.GitHubAPITokenITSUnibasChocoUser}
Body = @{per_page = 100}
}
$results = Invoke-RestMethod @Splat -ErrorAction Stop
return $results
Expand Down

0 comments on commit 5f5d3c0

Please sign in to comment.