gitlab-org--gitlab-foss/app/models/hooks/system_hook.rb

6 lines
141 B
Ruby
Raw Normal View History

class SystemHook < WebHook
def async_execute(data, hook_name)
Sidekiq::Client.enqueue(SystemHookWorker, id, data, hook_name)
end
end