summaryrefslogtreecommitdiff
path: root/lib/api/v3/issues.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/v3/issues.rb')
-rw-r--r--lib/api/v3/issues.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/api/v3/issues.rb b/lib/api/v3/issues.rb
index 5d7dfabfcd6..bb3535bedf8 100644
--- a/lib/api/v3/issues.rb
+++ b/lib/api/v3/issues.rb
@@ -140,12 +140,6 @@ module API
issue_params = declared_params(include_missing: false)
- if merge_request_iid = params[:merge_request_for_resolving_discussions]
- issue_params[:merge_request_for_resolving_discussions] = MergeRequestsFinder.new(current_user, project_id: user_project.id).
- execute.
- find_by(iid: merge_request_iid)
- end
-
issue = ::Issues::CreateService.new(user_project,
current_user,
issue_params.merge(request: request, api: true)).execute