@strapi/plugin-graphql 4.1.0 → 4.1.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-graphql",
|
|
3
|
-
"version": "4.1.0",
|
|
3
|
+
"version": "4.1.1-alpha.0",
|
|
4
4
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@apollo/federation": "^0.28.0",
|
|
31
31
|
"@graphql-tools/schema": "8.1.2",
|
|
32
32
|
"@graphql-tools/utils": "^8.0.2",
|
|
33
|
-
"@strapi/utils": "4.1.0",
|
|
33
|
+
"@strapi/utils": "4.1.1-alpha.0",
|
|
34
34
|
"apollo-server-core": "3.1.2",
|
|
35
35
|
"apollo-server-koa": "3.1.2",
|
|
36
36
|
"glob": "^7.1.7",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
65
65
|
"kind": "plugin"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "bedb04a0cc23719e4eac43e6005fe0fa3d48a9a6"
|
|
68
68
|
}
|
|
@@ -44,7 +44,7 @@ const formatGraphqlError = error => {
|
|
|
44
44
|
|
|
45
45
|
// Internal server error
|
|
46
46
|
strapi.log.error(originalError);
|
|
47
|
-
return ApolloError('Internal Server Error', 'INTERNAL_SERVER_ERROR');
|
|
47
|
+
return new ApolloError('Internal Server Error', 'INTERNAL_SERVER_ERROR');
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
module.exports = formatGraphqlError;
|