diff --git a/packages/nodes-base/nodes/Coda/Coda.node.ts b/packages/nodes-base/nodes/Coda/Coda.node.ts index 92fcbfa0a7..c16998769b 100644 --- a/packages/nodes-base/nodes/Coda/Coda.node.ts +++ b/packages/nodes-base/nodes/Coda/Coda.node.ts @@ -623,7 +623,7 @@ export class Coda implements INodeType { } body.row = { cells - }, + }; await codaApiRequest.call(this, 'PUT', endpoint, body, qs); } return [items]; diff --git a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts index 5dc7457081..b790df1b6c 100644 --- a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts +++ b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts @@ -322,7 +322,7 @@ export class MondayCom implements INodeType { if (returnAll === true) { responseData = await mondayComApiRequestAllItems.call(this, 'data.boards', body); } else { - body.variables.limit = this.getNodeParameter('limit', i) as number, + body.variables.limit = this.getNodeParameter('limit', i) as number; responseData = await mondayComApiRequest.call(this, body); responseData = responseData.data.boards; } diff --git a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts index 5048175745..df374c8f0c 100644 --- a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts +++ b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts @@ -713,7 +713,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Lead`, + qs.q = `SELECT ${fields.join(',')} FROM Lead`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; @@ -988,7 +988,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Contact`, + qs.q = `SELECT ${fields.join(',')} FROM Contact`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; @@ -1159,7 +1159,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Opportunity`, + qs.q = `SELECT ${fields.join(',')} FROM Opportunity`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; @@ -1384,7 +1384,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Account`, + qs.q = `SELECT ${fields.join(',')} FROM Account`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; @@ -1549,7 +1549,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Case`, + qs.q = `SELECT ${fields.join(',')} FROM Case`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; @@ -1763,7 +1763,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Task`, + qs.q = `SELECT ${fields.join(',')} FROM Task`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; @@ -1860,7 +1860,7 @@ export class Salesforce implements INodeType { } try { if (returnAll) { - qs.q = `SELECT ${fields.join(',')} FROM Attachment`, + qs.q = `SELECT ${fields.join(',')} FROM Attachment`; responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs); } else { const limit = this.getNodeParameter('limit', i) as number; diff --git a/packages/nodes-base/nodes/Slack/Slack.node.ts b/packages/nodes-base/nodes/Slack/Slack.node.ts index 904bf960f6..f95558b64d 100644 --- a/packages/nodes-base/nodes/Slack/Slack.node.ts +++ b/packages/nodes-base/nodes/Slack/Slack.node.ts @@ -288,8 +288,8 @@ export class Slack implements INodeType { //https://api.slack.com/methods/conversations.info if (operation === 'get') { const channel = this.getNodeParameter('channelId', i) as string; - qs.channel = channel, - responseData = await slackApiRequest.call(this, 'POST', '/conversations.info', {}, qs); + qs.channel = channel; + responseData = await slackApiRequest.call(this, 'POST', '/conversations.info', {}, qs); responseData = responseData.channel; } //https://api.slack.com/methods/conversations.list