n8n-nodes-mautic-advanced 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -188,7 +188,7 @@ async function editDoNotContactList(context, itemIndex) {
|
|
|
188
188
|
const action = (0, ApiHelpers_1.getRequiredParam)(context, 'action', itemIndex);
|
|
189
189
|
const channel = (0, ApiHelpers_1.getRequiredParam)(context, 'channel', itemIndex);
|
|
190
190
|
const body = { action, channel };
|
|
191
|
-
const response = await (0, ApiHelpers_1.makeApiRequest)(context, 'POST', `/contacts/${contactId}/dnc/${
|
|
191
|
+
const response = await (0, ApiHelpers_1.makeApiRequest)(context, 'POST', `/contacts/${contactId}/dnc/${channel}/${action}`, body);
|
|
192
192
|
return response.contact;
|
|
193
193
|
}
|
|
194
194
|
async function addUtmTags(context, itemIndex) {
|
package/package.json
CHANGED