diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-14 15:09:28 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-14 15:09:28 +0000 |
commit | 307f6d8439ab4bcc33be5c34e63da004b8968634 (patch) | |
tree | 2d3f4cb2c2a784b17db245e6c98c11ff7f787700 /app/services/incident_management | |
parent | 9a5dcad39c5dd81384ae4ec2398435883b944363 (diff) | |
download | gitlab-ce-307f6d8439ab4bcc33be5c34e63da004b8968634.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/incident_management')
-rw-r--r-- | app/services/incident_management/incidents/create_service.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/incident_management/incidents/create_service.rb b/app/services/incident_management/incidents/create_service.rb index 7206eaf51b2..e616aeec798 100644 --- a/app/services/incident_management/incidents/create_service.rb +++ b/app/services/incident_management/incidents/create_service.rb @@ -18,7 +18,6 @@ module IncidentManagement current_user, title: title, description: description, - label_ids: [find_or_create_incident_label.id], issue_type: ISSUE_TYPE ).execute @@ -31,13 +30,6 @@ module IncidentManagement attr_reader :title, :description - def find_or_create_incident_label - IncidentManagement::CreateIncidentLabelService - .new(project, current_user) - .execute - .payload[:label] - end - def success(issue) ServiceResponse.success(payload: { issue: issue }) end |