Commit 0a0d4ac2 authored by James Lopez's avatar James Lopez

fix a couple of issues

parent 0643187c
......@@ -5,6 +5,7 @@ module Applications
def initialize(current_user, params)
@current_user = current_user
@params = params
@ip_address = @params.delete(:ip_address)
end
def execute
......
......@@ -4,6 +4,7 @@ module Keys
def initialize(user, params)
@user, @params = user, params
@ip_address = @params.delete(:ip_address)
end
def notification_service
......
module EE
module Keys
module CreateService
def initialize(user, params)
super(user, params)
@ip_address = @params.delete(:ip_address)
end
def execute
super.tap do |key|
log_audit_event(key)
......
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