Commit 161a5248 authored by Rajendra Kadam's avatar Rajendra Kadam

Use @ variable for current user in EE keys create service

parent 9129aaef
......@@ -14,7 +14,7 @@ module EE
end
def audit_event_service
::AuditEventService.new(current_user,
::AuditEventService.new(@current_user,
user,
action: :custom,
custom_message: 'Added SSH 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