mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -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),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user