Commit be8b43ea authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix service hook after merge from CE

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0cbec8f2
class ServiceHook < WebHook
belongs_to :service
def execute(data)
WebHookService.new(self, data, 'service_hook').execute
def execute(data, hook_name = 'service_hook')
WebHookService.new(self, data, hook_name).execute
end
end
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