mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
* ⚡ Add company resource to Mautic
* ⚡ Add company resource * ⚡ Small improvement * Tweak descriptions/ labels Added descriptions for resources + fixed a spelling mistake (all just editing "description" fields, nothing else) * 👕 Fix lint issue Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: maxtkacz <maxtkacz@gmail.com>
This commit is contained in:
@@ -92,7 +92,8 @@ export class MauticTrigger implements INodeType {
|
||||
loadOptionsMethod: 'getEvents',
|
||||
},
|
||||
default: [],
|
||||
}, {
|
||||
},
|
||||
{
|
||||
displayName: 'Events Order',
|
||||
name: 'eventsOrder',
|
||||
type: 'options',
|
||||
@@ -170,7 +171,7 @@ export class MauticTrigger implements INodeType {
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
try {
|
||||
await mauticApiRequest.call(this, 'DELETE', `/hooks/${webhookData.webhookId}/delete`);
|
||||
} catch(error) {
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
delete webhookData.webhookId;
|
||||
|
||||
Reference in New Issue
Block a user