Use pagination for listing release assets

This commit is contained in:
ph1ll
2021-04-15 13:35:13 +00:00
committed by Nick Cipollo
parent 839c2ee3df
commit ec90733eaa
5 changed files with 18 additions and 22 deletions

View File

@@ -51,7 +51,7 @@ class GithubReleases {
}
listArtifactsForRelease(releaseId) {
return __awaiter(this, void 0, void 0, function* () {
return this.git.repos.listReleaseAssets({
return this.git.paginate(this.git.repos.listReleaseAssets, {
owner: this.inputs.owner,
release_id: releaseId,
repo: this.inputs.repo