Skip to content

Fix issue #2: Prevent clubs from redeeming more points than available#383

Open
Aurelien7777 wants to merge 8 commits intoOpenClassrooms-Student-Center:masterfrom
Aurelien7777:fix/2-Clubs-should-not-be-able-to-use-more-than-their-point
Open

Fix issue #2: Prevent clubs from redeeming more points than available#383
Aurelien7777 wants to merge 8 commits intoOpenClassrooms-Student-Center:masterfrom
Aurelien7777:fix/2-Clubs-should-not-be-able-to-use-more-than-their-point

Conversation

@Aurelien7777
Copy link
Copy Markdown

Issue fixed

Clubs should not be able to redeem more points than available.

Changes made

  • Added validation in booking logic to prevent redeeming more points than owned
  • Added user feedback message when points are insufficient
  • Updated UI validation
  • Added tests covering this behavior

Closes #2

@Aurelien7777 Aurelien7777 force-pushed the fix/2-Clubs-should-not-be-able-to-use-more-than-their-point branch from 9951231 to 6c9f55c Compare April 30, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Clubs should not be able to use more than their points allowed

1 participant