Commit c77730dd71b31d70a19f1729c795a44d7e609eb0

Authored by Andrew8xx8
1 parent 99760edc

An Id must be sended to queue

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/services/system_hooks_service.rb
... ... @@ -12,7 +12,7 @@ class SystemHooksService
12 12 end
13 13  
14 14 def self.async_execute_hook(hook, data)
15   - Sidekiq::Client.enqueue(SystemHookWorker, hook, data)
  15 + Sidekiq::Client.enqueue(SystemHookWorker, hook.id, data)
16 16 end
17 17  
18 18 def self.build_event_data(model, event)
... ...