Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix invalid email domain in demo mode (#9833)
Maciej Korycinski7770d8ad886c
diff --git a/saleor/plugins/anonymize/plugin.py b/saleor/plugins/anonymize/plugin.pyindex 7ad3dce9f7..08d586ac0c 100644--- a/saleor/plugins/anonymize/plugin.py+++ b/saleor/plugins/anonymize/plugin.py@@ -52,6 +52,6 @@ class AnonymizePlugin(BasePlugin):customer.first_name = faker.first_name()customer.last_name = faker.last_name()timestamp = str(timezone.now())- email = f"{hash(timestamp + get_random_string(5))}@anonymous-demo-email"+ email = f"{hash(timestamp + get_random_string(5))}@anonymous-demo-email.com"customer.email = emailcustomer.save()