👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -142,7 +142,7 @@ export class ActiveCampaign implements INodeType {
},
{
name: 'Connection',
value: 'connection'
value: 'connection',
},
{
name: 'Deal',
@@ -158,7 +158,7 @@ export class ActiveCampaign implements INodeType {
},
{
name: 'E-commerce Order Products',
value: 'ecommerceOrderProducts'
value: 'ecommerceOrderProducts',
},
{
name: 'Tag',

View File

@@ -35,7 +35,7 @@ export class ActiveCampaignTrigger implements INodeType {
{
name: 'activeCampaignApi',
required: true,
}
},
],
webhooks: [
{
@@ -103,7 +103,7 @@ export class ActiveCampaignTrigger implements INodeType {
}
return returnData;
},
}
},
};
// @ts-ignore
webhookMethods = {
@@ -132,7 +132,7 @@ export class ActiveCampaignTrigger implements INodeType {
url: webhookUrl,
events,
sources,
}
},
};
const { webhook } = await activeCampaignApiRequest.call(this, 'POST', '/api/3/webhooks', body);
webhookData.webhookId = webhook.id;
@@ -155,7 +155,7 @@ export class ActiveCampaignTrigger implements INodeType {
const req = this.getRequestObject();
return {
workflowData: [
this.helpers.returnJsonArray(req.body)
this.helpers.returnJsonArray(req.body),
],
};
}

View File

@@ -234,7 +234,7 @@ export const connectionFields = [
default: 1,
description: 'The status of a sync triggered on the connection (0 = sync stopped; 1 = sync running).',
},
]
],
},
// ----------------------------------

View File

@@ -138,7 +138,7 @@ export const contactFields = [
default: '',
description: 'Value of the field to set.',
},
]
],
},
],
},
@@ -237,7 +237,7 @@ export const contactFields = [
default: '',
description: 'Value of the field to set.',
},
]
],
},
],
},

View File

@@ -232,7 +232,7 @@ export const dealFields = [
default: 0,
description: 'The status of the deal',
},
]
],
},
// ----------------------------------
@@ -345,7 +345,7 @@ export const dealFields = [
default: 0,
description: 'The status of the deal',
},
]
],
},
// ----------------------------------

View File

@@ -247,7 +247,7 @@ export const ecomOrderFields = [
displayOptions: {
show: {
operation: [
'create'
'create',
],
resource: [
'ecommerceOrder',
@@ -391,7 +391,7 @@ export const ecomOrderFields = [
description: 'The order number. This can be different than the externalid.',
},
]
],
},
// ----------------------------------
@@ -632,7 +632,7 @@ export const ecomOrderFields = [
],
},
]
],
},
// ----------------------------------

View File

@@ -42,7 +42,7 @@ export async function activeCampaignApiRequest(this: IHookFunctions | IExecuteFu
method,
qs: query,
uri: `${credentials.apiUrl}${endpoint}`,
json: true
json: true,
};
if (Object.keys(body).length !== 0) {

View File

@@ -228,5 +228,5 @@ export const tagFields = [
// ----------------------------------
// tag:getAll
// ----------------------------------
...activeCampaignDefaultGetAllProperties('tag', 'getAll')
...activeCampaignDefaultGetAllProperties('tag', 'getAll'),
] as INodeProperties[];

View File

@@ -169,5 +169,5 @@ export const allCurrencies = [
{ name: 'Yemeni Rial', value: 'yer' },
{ name: 'South African Rand', value: 'zar' },
{ name: 'Zambian Kwacha', value: 'zmw' },
{ name: 'Zimbabwean Dollar', value: 'zwl' }
{ name: 'Zimbabwean Dollar', value: 'zwl' },
];