Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1653 from gravis/project-approval-rules
Browse files Browse the repository at this point in the history
Fix GetProjectApprovalRules pagination
  • Loading branch information
svanharmelen authored Feb 17, 2023
2 parents b91e64b + 3641c6b commit 83608f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,7 @@ func (s *ProjectsService) GetProjectApprovalRules(pid interface{}, opt *GetProje
}
u := fmt.Sprintf("projects/%s/approval_rules", PathEscape(project))

req, err := s.client.NewRequest(http.MethodGet, u, nil, options)
req, err := s.client.NewRequest(http.MethodGet, u, opt, options)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 83608f7

Please sign in to comment.