Commit 8d05cb0b authored by Robert Speicher's avatar Robert Speicher

Resolve app/models/hooks/service_hook.rb

parent b4305197
...@@ -5,13 +5,8 @@ class ServiceHook < WebHook ...@@ -5,13 +5,8 @@ class ServiceHook < WebHook
validates :service, presence: true validates :service, presence: true
# rubocop: disable CodeReuse/ServiceClass # rubocop: disable CodeReuse/ServiceClass
<<<<<<< HEAD
def execute(data, hook_name = 'service_hook') def execute(data, hook_name = 'service_hook')
WebHookService.new(self, data, hook_name).execute WebHookService.new(self, data, hook_name).execute
=======
def execute(data)
WebHookService.new(self, data, 'service_hook').execute
>>>>>>> upstream/master
end end
# rubocop: enable CodeReuse/ServiceClass # rubocop: enable CodeReuse/ServiceClass
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