From 6cfd13726fbce725633d95140dd0e4bf1779c5db Mon Sep 17 00:00:00 2001 From: manojmj Date: Wed, 24 Jul 2019 19:45:50 +0530 Subject: CE: Add project download & project export audit event This change adds audit events for download of repository and export of project. --- lib/api/helpers/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api/helpers/runner.rb') diff --git a/lib/api/helpers/runner.rb b/lib/api/helpers/runner.rb index 100463fcb95..5b87eccf860 100644 --- a/lib/api/helpers/runner.rb +++ b/lib/api/helpers/runner.rb @@ -25,7 +25,7 @@ module API end def get_runner_ip - { ip_address: env["action_dispatch.remote_ip"].to_s || request.ip } + { ip_address: ip_address } end def current_runner -- cgit v1.2.1