👕 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 = { body.row = {
cells cells
}, };
await codaApiRequest.call(this, 'PUT', endpoint, body, qs); await codaApiRequest.call(this, 'PUT', endpoint, body, qs);
} }
return [items]; return [items];

View file

@ -322,7 +322,7 @@ export class MondayCom implements INodeType {
if (returnAll === true) { if (returnAll === true) {
responseData = await mondayComApiRequestAllItems.call(this, 'data.boards', body); responseData = await mondayComApiRequestAllItems.call(this, 'data.boards', body);
} else { } 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 = await mondayComApiRequest.call(this, body);
responseData = responseData.data.boards; responseData = responseData.data.boards;
} }

View file

@ -713,7 +713,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; const limit = this.getNodeParameter('limit', i) as number;
@ -988,7 +988,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; const limit = this.getNodeParameter('limit', i) as number;
@ -1159,7 +1159,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; const limit = this.getNodeParameter('limit', i) as number;
@ -1384,7 +1384,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; const limit = this.getNodeParameter('limit', i) as number;
@ -1549,7 +1549,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; const limit = this.getNodeParameter('limit', i) as number;
@ -1763,7 +1763,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; const limit = this.getNodeParameter('limit', i) as number;
@ -1860,7 +1860,7 @@ export class Salesforce implements INodeType {
} }
try { try {
if (returnAll) { 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); responseData = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
} else { } else {
const limit = this.getNodeParameter('limit', i) as number; 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 //https://api.slack.com/methods/conversations.info
if (operation === 'get') { if (operation === 'get') {
const channel = this.getNodeParameter('channelId', i) as string; const channel = this.getNodeParameter('channelId', i) as string;
qs.channel = channel, qs.channel = channel;
responseData = await slackApiRequest.call(this, 'POST', '/conversations.info', {}, qs); responseData = await slackApiRequest.call(this, 'POST', '/conversations.info', {}, qs);
responseData = responseData.channel; responseData = responseData.channel;
} }