Removing location from error message

This commit is contained in:
Nikola Bjelo committed 2018-11-01 07:22:09 +01:00
1 parent 83fc42aecd
commit faa235dc02
1 file changed
-1
-1
View File
@@ -47,7 +47,6 @@ app.use('/graphql', graphqlHTTP(req => ({
return {
message: err.message,
code: err.originalError && err.originalError.code,
locations: err.locations,
path: err.path,
};
},