Skip to content

Commit

Permalink
Updated: getGithubSearchJSON() to include forks
Browse files Browse the repository at this point in the history
  • Loading branch information
typkrft committed Feb 25, 2022
1 parent 16d6fdb commit ab2531f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ type GithubSearchResult struct {
}

func getGithubSearchJSON(searchQuery string) (string, error) {
url := fmt.Sprintf("https://api.github.com/search/repositories?q=%v", searchQuery)
url := fmt.Sprintf("https://api.github.com/search/repositories?q=%v%v", searchQuery, "+fork:true")

response, err := getHTTPResponseBody(url)
if err != nil {
Expand Down

0 comments on commit ab2531f

Please sign in to comment.