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
|
else
|
||||||
{}
|
{}
|
||||||
end
|
end
|
||||||
when Hash, ActionController::Parameters
|
when Hash
|
||||||
ambiguous_param
|
ambiguous_param
|
||||||
|
when ActionController::Parameters
|
||||||
|
ambiguous_param.to_unsafe_h
|
||||||
when nil
|
when nil
|
||||||
{}
|
{}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue