Browse Source

small refactoring

Son NK 5 năm trước cách đây
mục cha
commit
01afb7557c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      email_handler.py

+ 1 - 1
email_handler.py

@@ -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,