Commit 0a719f47 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'fix_github_kwargs_warning' into 'master'

Fix kwargs warning in octokit middleware

See merge request gitlab-org/gitlab!47827
parents 3b02ef75 09183ef6
......@@ -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