Commit c77730dd authored by Andrew8xx8's avatar Andrew8xx8

An Id must be sended to queue

parent 99760edc
......@@ -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)
......
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