diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-06-14 12:27:25 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-06-14 12:27:25 +0700 |
| commit | b87f89b8af2731e02d6ab095c3e92e48b39b4f6c (patch) | |
| tree | 10828d8fa265883ac93e7044a580eff9ec564bcc | |
| parent | cca8698ed6617ff8ef79df0790861a08377c526b (diff) | |
(andri) fix retry
| -rw-r--r-- | indoteknik_custom/models/mail_mail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/mail_mail.py b/indoteknik_custom/models/mail_mail.py index cbcd883a..792b97b7 100644 --- a/indoteknik_custom/models/mail_mail.py +++ b/indoteknik_custom/models/mail_mail.py @@ -14,7 +14,7 @@ class MailMail(models.Model): # Filter hanya email gagal dalam 7 hari terakhir mails = self.search([ - ('state', 'in', 'exception'), + ('state', 'in', ['exception']), ('create_date', '>=', seven_days_ago), ('create_date', '<=', now), ], limit=250) |
