Skip to content

Commit

Permalink
Merge pull request #259 from swayne275/fix-pr-pages-bug
Browse files Browse the repository at this point in the history
Fix a bug listing pull requests
  • Loading branch information
tstromberg authored Apr 16, 2021
2 parents fc6840b + d309b15 commit d1971c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/provider/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Filter struct {
State string `yaml:"state,omitempty"`
}

// LoadLabelRegex loads a new label reegx
// LoadLabelRegex loads a new label regex
func (f *Filter) LoadLabelRegex() error {
label, negateLabel := negativeMatch(f.RawLabel)

Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (p *GitHubProvider) IssuesListIssueTimeline(ctx context.Context, sp SearchP

func (p *GitHubProvider) getPullRequestsListOptions(sp SearchParams) *github.PullRequestListOptions {
return &github.PullRequestListOptions{
ListOptions: p.getListOptions(sp.IssueListCommentsOptions.ListOptions),
ListOptions: p.getListOptions(sp.PullRequestListOptions.ListOptions),
State: sp.PullRequestListOptions.State,
Sort: sp.PullRequestListOptions.Sort,
Direction: sp.PullRequestListOptions.Direction,
Expand Down

0 comments on commit d1971c8

Please sign in to comment.