Fix Ruby 2.7 keyword parameter deprecations in Api::Geo

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/257438
parent 025a27b1
......@@ -31,7 +31,7 @@ module API
get 'retrieve/:replicable_name/:replicable_id' do
check_gitlab_geo_request_ip!
params_sym = params.symbolize_keys
authorize_geo_transfer!(params_sym)
authorize_geo_transfer!(**params_sym)
decoded_params = geo_jwt_decoder.decode
service = ::Geo::BlobUploadService.new(**params_sym, decoded_params: decoded_params)
......
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