diff options
Diffstat (limited to 'app/controllers/graphql_controller.rb')
-rw-r--r-- | app/controllers/graphql_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb index 67eeb43d5a2..5ffd525c170 100644 --- a/app/controllers/graphql_controller.rb +++ b/app/controllers/graphql_controller.rb @@ -190,7 +190,8 @@ class GraphqlController < ApplicationController current_user: current_user, is_sessionless_user: api_user, request: request, - scope_validator: ::Gitlab::Auth::ScopeValidator.new(api_user, request_authenticator) + scope_validator: ::Gitlab::Auth::ScopeValidator.new(api_user, request_authenticator), + remove_deprecated: Gitlab::Utils.to_boolean(params[:remove_deprecated], default: false) } end |