Skip to content

Commit

Permalink
fix: declare owner variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbunni committed Jul 23, 2024
1 parent 0d9cafc commit e9fb9c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repos.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func recentPullRequests(count int) []PullRequest {
func recentCreatedRepos(owner string, count int) []Repo {
var repos []Repo
variables := map[string]interface{}{
"owner": githubv4.String(owner),
"count": githubv4.Int(count + 1), // +1 in case we encounter the meta-repo itself
"isFork": githubv4.Boolean(false),
}
Expand Down Expand Up @@ -196,6 +197,7 @@ func recentForks(owner string, count int) []Repo {

var repos []Repo
variables := map[string]interface{}{
"owner": githubv4.String(owner),
"count": githubv4.Int(count + 1), // +1 in case we encounter the meta-repo itself
"isFork": githubv4.Boolean(true),
}
Expand Down

0 comments on commit e9fb9c6

Please sign in to comment.