From 1b754daa2fd1b055dcd84d342634288944280e98 Mon Sep 17 00:00:00 2001 From: Umair Kamran Date: Fri, 23 Apr 2021 11:52:53 +0500 Subject: [PATCH] :bug: Fix sending "lastActive" with Mautic --- packages/nodes-base/nodes/Mautic/Mautic.node.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Mautic/Mautic.node.ts b/packages/nodes-base/nodes/Mautic/Mautic.node.ts index d3f30c036f..56d7eb8f2b 100644 --- a/packages/nodes-base/nodes/Mautic/Mautic.node.ts +++ b/packages/nodes-base/nodes/Mautic/Mautic.node.ts @@ -314,7 +314,7 @@ export class Mautic implements INodeType { body.ipAddress = additionalFields.ipAddress as string; } if (additionalFields.lastActive) { - body.ipAddress = additionalFields.lastActive as string; + body.lastActive = additionalFields.lastActive as string; } if (additionalFields.ownerId) { body.ownerId = additionalFields.ownerId as string; @@ -423,7 +423,7 @@ export class Mautic implements INodeType { body.ipAddress = updateFields.ipAddress as string; } if (updateFields.lastActive) { - body.ipAddress = updateFields.lastActive as string; + body.lastActive = updateFields.lastActive as string; } if (updateFields.ownerId) { body.ownerId = updateFields.ownerId as string;