Commit 92f82773 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Make API v3 work with the new param name

parent 0c6e685f
...@@ -139,6 +139,7 @@ module API ...@@ -139,6 +139,7 @@ module API
end end
issue_params = declared_params(include_missing: false) issue_params = declared_params(include_missing: false)
issue_params = issue_params.merge(merge_request_to_resolve_discussions_of: issue_params.delete(:merge_request_for_resolving_discussions))
issue = ::Issues::CreateService.new(user_project, issue = ::Issues::CreateService.new(user_project,
current_user, current_user,
......
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