Skip to content

Commit

Permalink
Merge pull request #630 from revolter/patch-1
Browse files Browse the repository at this point in the history
Fix 404 error when retrieving the issues a merge_request will close
  • Loading branch information
NARKOZ committed Dec 10, 2021
2 parents 1e8c635 + 35a4e6a commit 6c7f1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitlab/client/merge_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def merge_request_commits(project, id)
# @param [Integer] project The ID of a project
# @param [Integer] iid The internal ID of a merge request
def merge_request_closes_issues(project_id, merge_request_iid)
get("/projects/#{project_id}/merge_requests/#{merge_request_iid}/closes_issues")
get("/projects/#{url_encode project_id}/merge_requests/#{merge_request_iid}/closes_issues")
end

# Subscribes to a merge request.
Expand Down

0 comments on commit 6c7f1ef

Please sign in to comment.