Commit Graph

4 Commits

Author SHA1 Message Date
Sam Najian
9a2d4e83b2 Change NewsletterCoupon::cleanupSensitiveData signature
This change allows passing body array and retuning body array
so that NewsletterEntity instance doesn't need to get passed
around

[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
59d91ff7ef Fix failing unit test
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
bfe658fc86 Replace coupon code with code placeholder when duplicationg
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
7ced42a494 Fix bug when duplicated newsletter uses the source's coupon
On duplication, the sensitive data of the coupon were
inherited from the source

[MAILPOET-4678]
2023-01-23 13:31:34 +01:00