Skip to content

BUG: Competition places are not correctly deducted after booking #6

@SiRipo92

Description

@SiRipo92

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions