fix: stop using originalError in GQL responses

This commit is contained in:
Ali BARIN
2023-02-27 20:29:22 +01:00
parent 329fcdf8f4
commit e7ccd01427

View File

@@ -28,7 +28,7 @@ const graphQLInstance = graphqlHTTP({
delete (error.originalError as HttpError).response; delete (error.originalError as HttpError).response;
} }
return error.originalError || error; return error;
}, },
}); });