fix: issue with slack job (#7179)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
class SendOnSlackJob < ApplicationJob
|
||||
queue_as :medium
|
||||
pattr_initialize [:message!, :hook!]
|
||||
|
||||
def perform
|
||||
def perform(message, hook)
|
||||
Integrations::Slack::SendOnSlackService.new(message: message, hook: hook).perform
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user