mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
fix(Mautic Node): Fix issue with owner not being set correctly (#6991)
This commit is contained in:
parent
00268a019a
commit
64b950f294
|
@ -623,7 +623,7 @@ export class Mautic implements INodeType {
|
||||||
body.lastActive = additionalFields.lastActive as string;
|
body.lastActive = additionalFields.lastActive as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.ownerId) {
|
if (additionalFields.ownerId) {
|
||||||
body.ownerId = additionalFields.ownerId as string;
|
body.owner = additionalFields.ownerId as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.addressUi) {
|
if (additionalFields.addressUi) {
|
||||||
const addressValues = (additionalFields.addressUi as IDataObject)
|
const addressValues = (additionalFields.addressUi as IDataObject)
|
||||||
|
@ -738,7 +738,7 @@ export class Mautic implements INodeType {
|
||||||
body.lastActive = updateFields.lastActive as string;
|
body.lastActive = updateFields.lastActive as string;
|
||||||
}
|
}
|
||||||
if (updateFields.ownerId) {
|
if (updateFields.ownerId) {
|
||||||
body.ownerId = updateFields.ownerId as string;
|
body.owner = updateFields.ownerId as string;
|
||||||
}
|
}
|
||||||
if (updateFields.addressUi) {
|
if (updateFields.addressUi) {
|
||||||
const addressValues = (updateFields.addressUi as IDataObject)
|
const addressValues = (updateFields.addressUi as IDataObject)
|
||||||
|
|
Loading…
Reference in a new issue