Commit ce925faa authored by Matthias Käppler's avatar Matthias Käppler

Merge branch '10io-fix-faraday-gitlab-middleware-register' into 'master'

Move Faraday middlewares register to an initializer

See merge request gitlab-org/gitlab!53019
parents ed2c9ac1 a58336f6
# frozen_string_literal: true
::Faraday::Request.register_middleware(gitlab_error_callback: -> { ::Gitlab::Faraday::ErrorCallback })
# frozen_string_literal: true
module Gitlab
module Faraday
::Faraday::Request.register_middleware(gitlab_error_callback: -> { ::Gitlab::Faraday::ErrorCallback })
end
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