Skip to content

Commit

Permalink
Merge pull request #351 from MUzairS15/rate-limiting-fix
Browse files Browse the repository at this point in the history
fix rate limiting issue
  • Loading branch information
MUzairS15 committed Aug 18, 2023
2 parents 25d783f + 0cb9ada commit 81e3242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func ReadLocalFile(location string) (string, error) {

// Gets the latest stable release tags from github for a given org name and repo name(in that org) in sorted order
func GetLatestReleaseTagsSorted(org string, repo string) ([]string, error) {
var url string = "https://api.github.com/repos/" + org + "/" + repo + "/releases"
var url string = "https://github.com/" + org + "/" + repo + "/releases"
resp, err := http.Get(url)
if err != nil {
return nil, ErrGettingLatestReleaseTag(err)
Expand Down

0 comments on commit 81e3242

Please sign in to comment.