Commit 9d3e9194 authored by Stephen Meriwether's avatar Stephen Meriwether Committed by Sander van Harmelen

Update GetMergeRequestCommits URL to match the gitlab API spec. (#133)

parent 5e714510
......@@ -173,7 +173,7 @@ func (s *MergeRequestsService) GetMergeRequestCommits(pid interface{}, mergeRequ
if err != nil {
return nil, nil, err
}
u := fmt.Sprintf("projects/%s/merge_request/%d/commits", url.QueryEscape(project), mergeRequest)
u := fmt.Sprintf("projects/%s/merge_requests/%d/commits", url.QueryEscape(project), mergeRequest)
req, err := s.client.NewRequest("GET", u, nil)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment