✏️(project) fix minor typos

Found typos, fixed them.
This commit is contained in:
Lebaud Antoine
2024-02-15 20:26:19 +01:00
committed by aleb_the_flash
parent 1f1253ab21
commit 469903c9eb
8 changed files with 23 additions and 23 deletions

View File

@@ -229,7 +229,7 @@ class User(AbstractBaseUser, BaseModel, auth_models.PermissionsMixin):
)
def email_user(self, subject, message, from_email=None, **kwargs):
"""Send an email to this user."""
"""Email this user."""
main_identity = self.identities.get(is_main=True)
mail.send_mail(subject, message, from_email, [main_identity.email], **kwargs)