mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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).',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
@@ -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.',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
@@ -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 = [
|
||||
],
|
||||
},
|
||||
|
||||
]
|
||||
],
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -228,5 +228,5 @@ export const tagFields = [
|
||||
// ----------------------------------
|
||||
// tag:getAll
|
||||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('tag', 'getAll')
|
||||
...activeCampaignDefaultGetAllProperties('tag', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
|
||||
@@ -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' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user