Skip to content

Commit

Permalink
Merge pull request #1808 from GaikwadPratik/mr-diff-path-fix
Browse files Browse the repository at this point in the history
fix: correction in rest end point path
  • Loading branch information
svanharmelen committed Sep 29, 2023
2 parents 7d2bd21 + f0362ed commit 91f2456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merge_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ func (s *MergeRequestsService) ListMergeRequesDiffs(pid interface{}, mergeReques
return nil, nil, err
}

u := fmt.Sprintf("/projects/%s/merge_requests/%d/diffs", PathEscape(project), mergeRequest)
u := fmt.Sprintf("projects/%s/merge_requests/%d/diffs", PathEscape(project), mergeRequest)

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

0 comments on commit 91f2456

Please sign in to comment.