Add reEngagement to settings normalisation
[MAILPOET-3856]
This commit is contained in:
@@ -81,6 +81,9 @@ export default function normalizeSettings(data: Record<string, unknown>): Settin
|
|||||||
address: text,
|
address: text,
|
||||||
}),
|
}),
|
||||||
subscriber_email_notification: asObject({ enabled: enabledRadio, address: text }),
|
subscriber_email_notification: asObject({ enabled: enabledRadio, address: text }),
|
||||||
|
reEngagement: asObject({
|
||||||
|
page: text,
|
||||||
|
}),
|
||||||
cron_trigger: asObject({
|
cron_trigger: asObject({
|
||||||
method: asEnum(['WordPress', 'MailPoet', 'Linux Cron'], 'WordPress'),
|
method: asEnum(['WordPress', 'MailPoet', 'Linux Cron'], 'WordPress'),
|
||||||
}),
|
}),
|
||||||
|
Reference in New Issue
Block a user