Given
A secretary is logged in and successfully books places in a competition
When
The booking is confirmed
Then (actual behavior)
The number of available places in the competition remains unchanged after booking
Expected behavior
The number of places booked is correctly deducted from the competition's available places. The updated total is reflected immediately for all users.
Relevant code / route
purchasePlaces() in server.py
Branch name
fix/competition-places-not-deducted