Merge pull request #35 from yarcowang/master
Bug: _getQuery return empty value
This commit is contained in:
commit
a82aa0aaae
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ Map<String, dynamic> _fetchRequestInfo(Map<String, dynamic> arguments) {
|
||||||
|
|
||||||
Map<String, dynamic> _getQuery(Map<String, dynamic> arguments) {
|
Map<String, dynamic> _getQuery(Map<String, dynamic> arguments) {
|
||||||
var f = Map<String, dynamic>.from(arguments)..remove('id')..remove('data');
|
var f = Map<String, dynamic>.from(arguments)..remove('id')..remove('data');
|
||||||
return f.isEmpty ? null : {};
|
return f.isEmpty ? null : f;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A GraphQL resolver that `index`es an Angel service.
|
/// A GraphQL resolver that `index`es an Angel service.
|
||||||
|
|
Loading…
Reference in a new issue