🐛 Fix operationName bug in GraphQL-Node

This commit is contained in:
Jan Oberhauser 2020-06-03 15:25:43 +02:00
parent ffeb2f8b62
commit a1da8425e4

View file

@ -246,7 +246,7 @@ export class GraphQL implements INodeType {
} }
} }
if (requestOptions.body.operationName === '') { if (requestOptions.body.operationName === '') {
requestOptions.body.operation = null; requestOptions.body.operationName = null;
} }
requestOptions.json = true; requestOptions.json = true;
} else { } else {