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
|
end
|
||||||
|
|
||||||
def self.async_execute_hook(hook, data)
|
def self.async_execute_hook(hook, data)
|
||||||
Sidekiq::Client.enqueue(SystemHookWorker, hook, data)
|
Sidekiq::Client.enqueue(SystemHookWorker, hook.id, data)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.build_event_data(model, event)
|
def self.build_event_data(model, event)
|
||||||
|
|
Loading…
Add table
Reference in a new issue