An Id must be sended to queue

5-0-stable
Andrew8xx8 2013-02-21 14:04:06 +04:00
parent 99760edc75
commit c77730dd71
1 changed files with 1 additions and 1 deletions

View File

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