diff --git a/src/utils.js b/src/utils.js index 8d7fd1e..d9e58fa 100644 --- a/src/utils.js +++ b/src/utils.js @@ -249,7 +249,10 @@ export function parseGQLEntry(entry) { function getContent(entry) { return new Promise((resolve, reject) => { - if (!isContentType(entry.response, 'application/json')) + if ( + !isContentType(entry.response, 'application/json') && + !isContentType(entry.response, 'application/graphql-response+json') + ) return reject(CANT_PARSE_RESPONSE_ERROR) entry.getContent(responseBody => {