From cccdf7945cc9e16f3299dcb987c1b6413b76bd3d Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 22 May 2024 00:34:44 +0100 Subject: [PATCH] Should actually commit the lottery --- apps/cfp/event_tickets_lottery.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/cfp/event_tickets_lottery.py b/apps/cfp/event_tickets_lottery.py index 442378e6b..a93fe4b17 100644 --- a/apps/cfp/event_tickets_lottery.py +++ b/apps/cfp/event_tickets_lottery.py @@ -98,6 +98,7 @@ def run_lottery(ticketed_proposals): ) signup.state = "pending-tickets" + db.session.commit() db.session.flush() refresh_states()