Bug: Invites expiring immediately

This commit is contained in:
Kenneth Kehl
2024-10-02 09:54:18 -07:00
parent aba9132f5f
commit f720b48d0d

View File

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