Skip to content
Snippets Groups Projects
Commit c77730dd authored by Andrew8xx8's avatar Andrew8xx8
Browse files

An Id must be sended to queue

parent 99760edc
No related branches found
No related tags found
1 merge request!3052System hooks code & logic refactoring
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment