mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Replace some fallback values to match the value type (#1421)
This commit is contained in:
@@ -236,7 +236,7 @@ export class GraphQL implements INodeType {
|
||||
requestOptions.body = {
|
||||
query: gqlQuery,
|
||||
variables: this.getNodeParameter('variables', itemIndex, {}) as object,
|
||||
operationName: this.getNodeParameter('operationName', itemIndex, null) as string,
|
||||
operationName: this.getNodeParameter('operationName', itemIndex) as string,
|
||||
};
|
||||
if (typeof requestOptions.body.variables === 'string') {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user