Merge request bad URL
ggrimbert opened this issue · 1 comments
ggrimbert commented
Hi,
I have an error while trying to merge a merge request.
{ Gitlab404Error: Unknow Error 404
at Gitlab.RESTFulClient.handleResult (/home/ggrimbert/edevelo/local/Aurelia/projects-managing/node_modules/restful-client/lib/client.js:75:11)
at /home/ggrimbert/edevelo/local/Aurelia/projects-managing/node_modules/restful-client/lib/client.js:133:10
at done (/home/ggrimbert/edevelo/local/Aurelia/projects-managing/node_modules/urllib/lib/urllib.js:262:5)
at /home/ggrimbert/edevelo/local/Aurelia/projects-managing/node_modules/urllib/lib/urllib.js:435:9
at decodeContent (/home/ggrimbert/edevelo/local/Aurelia/projects-managing/node_modules/urllib/lib/urllib.js:310:14)
It appears that the url called to merge is /api/v3/projects/41/merge_requests/59/merge
but it should be /api/v3/projects/41/merge_request/59/merge
dcolens commented
According to Gitlab's documentation (https://docs.gitlab.com/ce/api/merge_requests.html#accept-mr) merge_requests
is correct?