Skip to content

Commit 064f128

Browse files
committed
Fix query_params
1 parent c93f12c commit 064f128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/middleware/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def content_type
7979
end
8080

8181
def query_params
82-
@rack_request.GET
82+
rack_request.GET
8383
rescue Rack::QueryParser::ParamsTooDeepError
8484
raise Grape::Exceptions::TooDeepParameters.new(Rack::Utils.param_depth_limit)
8585
rescue Rack::Utils::ParameterTypeError

0 commit comments

Comments
 (0)