Commit 5a9bc485 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Remove user from CreateIssueService attributes

Once `CreateIssueService` is no longer a dependency for
`CreateAlertIssueService`, it doesn't need to accept a `user`
as an argument.
parent 092ff52f
......@@ -13,8 +13,8 @@ module IncidentManagement
DESCRIPTION
}.freeze
def initialize(project, params, user = User.alert_bot)
super(project, user, params)
def initialize(project, params)
super(project, User.alert_bot, params)
end
def execute
......
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