diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-06-18 11:16:12 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-06-18 11:16:12 +0700 |
| commit | 1a6ad278493ef88e01485d72ebc697b61aec077a (patch) | |
| tree | f0db9f96cea9cd2a3e490d01b2dd1e0020fb0bf3 /indoteknik_custom/models/mail_mail.py | |
| parent | 9d7d71f23de6335464d96d2a04ba8b36db620105 (diff) | |
| parent | cca31a5f582e097518701a192d4cda88525fc979 (diff) | |
<hafid> merging & fix tempo
Diffstat (limited to 'indoteknik_custom/models/mail_mail.py')
| -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) |
