We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc3df0e commit 2caadf9Copy full SHA for 2caadf9
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "saloon",
3
- "version": "1.4.1",
+ "version": "1.4.2",
4
"description": "An E2E Test Seeder for Enterprise Web Applications",
5
"main": "dist/saloon.js",
6
"module": "dist/module/main.js",
src/requestAdapters/Graphql.js
@@ -23,7 +23,7 @@ class GraphqlAdapter extends BaseRequestAdapter {
23
},
24
})
25
.then(({ data }) => {
26
- if (!data.data && data.errors.length > 0) {
+ if (data.errors.length > 0) {
27
throw new Error(JSON.stringify(data.errors));
28
}
29
return data;
0 commit comments