ソースを参照

small refactoring

Son NK 5 年 前
コミット
01afb7557c
1 ファイル変更1 行追加1 行削除
  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,