Commit d68babd4 authored by Valery Sizov's avatar Valery Sizov

Resolve lib/api/helpers/internal_helpers.rb

parent 687a6c08
...@@ -53,7 +53,6 @@ module API ...@@ -53,7 +53,6 @@ module API
] ]
end end
<<<<<<< HEAD
def log_user_activity(actor) def log_user_activity(actor)
commands = Gitlab::GitAccess::DOWNLOAD_COMMANDS commands = Gitlab::GitAccess::DOWNLOAD_COMMANDS
...@@ -63,11 +62,6 @@ module API ...@@ -63,11 +62,6 @@ module API
def parse_env def parse_env
return {} if params[:env].blank? return {} if params[:env].blank?
=======
def parse_env
return {} if params[:env].blank?
>>>>>>> 19dd138cdd4e551759a2163f5357ae2fc9f73b99
JSON.parse(params[:env]) JSON.parse(params[:env])
rescue JSON::ParserError rescue JSON::ParserError
{} {}
......
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