An Id must be sended to queue
This commit is contained in:
parent
99760edc75
commit
c77730dd71
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class SystemHooksService
|
|||
end
|
||||
|
||||
def self.async_execute_hook(hook, data)
|
||||
Sidekiq::Client.enqueue(SystemHookWorker, hook, data)
|
||||
Sidekiq::Client.enqueue(SystemHookWorker, hook.id, data)
|
||||
end
|
||||
|
||||
def self.build_event_data(model, event)
|
||||
|
|
Loading…
Reference in a new issue