mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
🐛 Fix sending "lastActive" with Mautic
This commit is contained in:
@@ -314,7 +314,7 @@ export class Mautic implements INodeType {
|
|||||||
body.ipAddress = additionalFields.ipAddress as string;
|
body.ipAddress = additionalFields.ipAddress as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.lastActive) {
|
if (additionalFields.lastActive) {
|
||||||
body.ipAddress = additionalFields.lastActive as string;
|
body.lastActive = additionalFields.lastActive as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.ownerId) {
|
if (additionalFields.ownerId) {
|
||||||
body.ownerId = additionalFields.ownerId as string;
|
body.ownerId = additionalFields.ownerId as string;
|
||||||
@@ -423,7 +423,7 @@ export class Mautic implements INodeType {
|
|||||||
body.ipAddress = updateFields.ipAddress as string;
|
body.ipAddress = updateFields.ipAddress as string;
|
||||||
}
|
}
|
||||||
if (updateFields.lastActive) {
|
if (updateFields.lastActive) {
|
||||||
body.ipAddress = updateFields.lastActive as string;
|
body.lastActive = updateFields.lastActive as string;
|
||||||
}
|
}
|
||||||
if (updateFields.ownerId) {
|
if (updateFields.ownerId) {
|
||||||
body.ownerId = updateFields.ownerId as string;
|
body.ownerId = updateFields.ownerId as string;
|
||||||
|
|||||||
Reference in New Issue
Block a user