Skip to content

Commit

Permalink
Fix 404 error when retrieving the issues a merge_request will close
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Nov 11, 2021
1 parent 1e8c635 commit 35a4e6a
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 35a4e6a

Please sign in to comment.