Add reEngagement to settings normalisation

[MAILPOET-3856]
This commit is contained in:
Pavel Dohnal
2021-11-01 11:36:46 +01:00
committed by Veljko V
parent 39fe83b49c
commit c13ad00e64

View File

@@ -81,6 +81,9 @@ export default function normalizeSettings(data: Record<string, unknown>): Settin
address: text,
}),
subscriber_email_notification: asObject({ enabled: enabledRadio, address: text }),
reEngagement: asObject({
page: text,
}),
cron_trigger: asObject({
method: asEnum(['WordPress', 'MailPoet', 'Linux Cron'], 'WordPress'),
}),