Commit d6e91e24 authored by James Lopez's avatar James Lopez

Merge branch 'da-fix-ruby-2.7-kwargs-api-geo' into 'master'

Fix Ruby 2.7 keyword parameter deprecations in Api::Geo

See merge request gitlab-org/gitlab!43801
parents e085c9cf aa9cd150
...@@ -31,7 +31,7 @@ module API ...@@ -31,7 +31,7 @@ module API
get 'retrieve/:replicable_name/:replicable_id' do get 'retrieve/:replicable_name/:replicable_id' do
check_gitlab_geo_request_ip! check_gitlab_geo_request_ip!
params_sym = params.symbolize_keys params_sym = params.symbolize_keys
authorize_geo_transfer!(params_sym) authorize_geo_transfer!(**params_sym)
decoded_params = geo_jwt_decoder.decode decoded_params = geo_jwt_decoder.decode
service = ::Geo::BlobUploadService.new(**params_sym, decoded_params: decoded_params) 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