fix(Email Account): create_dummy (#38480)
This commit is contained in:
parent
dadf822152
commit
8a80840abd
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue