fix(graphql): variables should be a plain hash
This commit is contained in:
parent
1022e4d18b
commit
e3da500614
1 changed files with 3 additions and 1 deletions
|
@ -60,8 +60,10 @@ class API::V2::GraphqlController < API::V2::BaseController
|
|||
else
|
||||
{}
|
||||
end
|
||||
when Hash, ActionController::Parameters
|
||||
when Hash
|
||||
ambiguous_param
|
||||
when ActionController::Parameters
|
||||
ambiguous_param.to_unsafe_h
|
||||
when nil
|
||||
{}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue