Merge branch 'master' into graphql-cleanup

This commit is contained in:
Mads Marquart
2019-07-02 19:17:53 +02:00
committed by GitHub
4 changed files with 121 additions and 56 deletions

View File

@@ -49,9 +49,9 @@ def response_to_json(content):
if "error_results" in x:
del rtn[-1]
continue
_util.check_json(x)
_util.handle_payload_error(x)
[(key, value)] = x.items()
_util.check_json(value)
_util.handle_graphql_errors(value)
if "response" in value:
rtn[int(key[1:])] = value["response"]
else: