Commit 09183ef6 authored by Andy Soiron's avatar Andy Soiron

Fix kwargs warning in octokit middleware

parent 5ac5f7f3
......@@ -8,7 +8,7 @@ module Gitlab
end
def call(env)
Gitlab::UrlBlocker.validate!(env[:url], { allow_localhost: allow_local_requests?, allow_local_network: allow_local_requests? })
Gitlab::UrlBlocker.validate!(env[:url], allow_localhost: allow_local_requests?, allow_local_network: allow_local_requests?)
@app.call(env)
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