upgrade org and template dao to sqlalchemy 2.0

This commit is contained in:
Kenneth Kehl
2024-10-11 13:30:59 -07:00
parent 70022c0596
commit 7e16eeb386
2 changed files with 8 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ def _create_service_invite(invited_user, invite_link_host):
redis_store.set(
f"email-personalisation-{saved_notification.id}",
json.dumps(personalisation),
ex=2*24*60*60,
ex=2 * 24 * 60 * 60,
)
send_notification_to_queue(saved_notification, queue=QueueNames.NOTIFY)