Skip to content

Commit

Permalink
chore: fetch 1000 releases
Browse files Browse the repository at this point in the history
  • Loading branch information
helder-moreira committed Feb 4, 2025
1 parent 2218739 commit 8bfd422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/handler_execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (h *Handler) getAssetsNoCache(q Query) (string, Assets, error) {
release := q.Release
//not cached - ask github
log.Printf("fetching asset info for %s/%s@%s", user, repo, release)
url := fmt.Sprintf("https://api.github.com/repos/%s/%s/releases", user, repo)
url := fmt.Sprintf("https://api.github.com/repos/%s/%s/releases?per_page=1000", user, repo)
ghas := ghAssets{}
if release == "" || release == "latest" {
url += "/latest"
Expand Down

0 comments on commit 8bfd422

Please sign in to comment.