small refactoring

This commit is contained in:
Son NK 2020-08-21 10:47:10 +02:00
parent 2b2512e775
commit 01afb7557c

View file

@ -983,7 +983,7 @@ def handle_bounce(contact: Contact, alias: Alias, msg: Message, user: User):
contact.website_email,
)
alias.enabled = False
db.session.commit()
db.session.commit()
send_email_with_rate_control(
user,