fix: issue with slack job (#7179)

This commit is contained in:
Tejaswini Chile
2023-05-24 20:22:34 +05:30
committed by GitHub
parent bfaca851f1
commit 8e79cf72e1
4 changed files with 14 additions and 15 deletions

View File

@@ -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