mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
👕 replace coma in semicolon when end of line (#802)
This commit is contained in:
parent
c298fd325a
commit
e863254272
|
@ -623,7 +623,7 @@ export class Coda implements INodeType {
|
|||
}
|
||||
body.row = {
|
||||
cells
|
||||
},
|
||||
};
|
||||
await codaApiRequest.call(this, 'PUT', endpoint, body, qs);
|
||||
}
|
||||
return [items];
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -288,7 +288,7 @@ 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,
|
||||
qs.channel = channel;
|
||||
responseData = await slackApiRequest.call(this, 'POST', '/conversations.info', {}, qs);
|
||||
responseData = responseData.channel;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue