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