updated Redis
This commit is contained in:
@@ -8,10 +8,7 @@ email_sender = EmailSender(**EmailConfig.as_dict())
|
||||
class EmailService:
|
||||
|
||||
@classmethod
|
||||
def send_email(
|
||||
cls,
|
||||
params : EmailSendModel
|
||||
) -> bool:
|
||||
def send_email(cls, params: EmailSendModel) -> bool:
|
||||
if not EmailConfig.EMAIL_SEND:
|
||||
print("Email sending is disabled", params)
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user