Cleanup and bugfixes

This commit is contained in:
Atharv1705
2026-10-01 12:58:37 +05:30
parent f199ecdec6
commit 0ca44bc3f4
11 changed files with 529 additions and 212 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ def _run_deadline_reminders():
<p>Please ensure all outstanding actions are completed before the deadline.</p>
<p>Kind regards,<br><strong>BookKeepro Team</strong></p>
"""
asyncio.get_event_loop().run_until_complete(
asyncio.run(
send_email(
to=user.email,
subject=f"Reminder: {doc_label} Filing Deadline in {label} — BookKeepro",
@@ -82,7 +82,7 @@ def _run_deadline_reminders():
<p><strong>BookKeepro System</strong></p>
"""
for admin_email in admin_emails:
asyncio.get_event_loop().run_until_complete(
asyncio.run(
send_email(
to=admin_email,
subject=f"Admin Reminder: {user.email} — {doc_label} Deadline in {label}",