Minor improvements to ActiveCampaign-Node

This commit is contained in:
Jan Oberhauser
2020-09-18 09:42:46 +02:00
parent a552febab4
commit ed0f701c6a
3 changed files with 22 additions and 24 deletions

View File

@@ -142,7 +142,7 @@ export class ActiveCampaignTrigger implements INodeType {
const webhookData = this.getWorkflowStaticData('node');
try {
await activeCampaignApiRequest.call(this, 'DELETE', `/api/3/webhooks/${webhookData.webhookId}`, {});
} catch(error) {
} catch (error) {
return false;
}
delete webhookData.webhookId;