fix(Email Account): create_dummy (#38480)

This commit is contained in:
Raffael Meyer 2026-04-07 22:37:09 +02:00 committed by GitHub
parent dadf822152
commit 8a80840abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -492,7 +492,7 @@ class EmailAccount(Document):
@classmethod
def create_dummy(cls):
return cls.from_record({"sender": "notifications@example.com"})
return cls.from_record({"name": "Notifications", "email_id": "notifications@example.com"})
@classmethod
@cache_email_account("outgoing_email_account")