Commit 25130343 authored by Nick Thomas's avatar Nick Thomas

Fix arity errors introduced in CE->EE merve

parent 8f47bb07
...@@ -3,7 +3,7 @@ module EE ...@@ -3,7 +3,7 @@ module EE
module CreateService module CreateService
include ::EE::Emails::BaseService include ::EE::Emails::BaseService
def execute def execute(*args, &blk)
super.tap do |email| super.tap do |email|
log_audit_event(action: :create) if email.persisted? log_audit_event(action: :create) if email.persisted?
end end
......
...@@ -3,7 +3,7 @@ module EE ...@@ -3,7 +3,7 @@ module EE
module DestroyService module DestroyService
include ::EE::Emails::BaseService include ::EE::Emails::BaseService
def execute def execute(*args, &blk)
super.tap do super.tap do
log_audit_event(action: :destroy) log_audit_event(action: :destroy)
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