1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-21 01:47:36 +03:00

👕 replace coma in semicolon when end of line (#802)

This commit is contained in:
Jean Baptiste Noblot 2020-07-30 11:35:36 +02:00 committed by GitHub
parent c298fd325a
commit e863254272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -623,7 +623,7 @@ export class Coda implements INodeType {
}
body.row = {
cells
},
};
await codaApiRequest.call(this, 'PUT', endpoint, body, qs);
}
return [items];

View File

@ -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;
}

View File

@ -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;

View File

@ -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;
}