Skip to content

Added Feature to Check Duplicate Signups - #228

Open
ganesh7263 wants to merge 1 commit into
skills:mainfrom
ganesh7263:feature/my-change
Open

Added Feature to Check Duplicate Signups#228
ganesh7263 wants to merge 1 commit into
skills:mainfrom
ganesh7263:feature/my-change

Conversation

@ganesh7263

Copy link
Copy Markdown

Summary

Add duplicate signup protection for activities

Changes

  • Added a validation check in the FastAPI signup endpoint
  • Prevents duplicate email registrations within the same activity
  • Returns a clear 400 error when a student is already signed up
  • Added a regression test covering duplicate signup behavior

Why?
Students were able to submit the same signup multiple times because the backend appended the email without checking whether it was already present in the activity’s participant list.

@igwejk

igwejk commented Aug 11, 2026

Copy link
Copy Markdown

Hey @ganesh7263, thank you! That behaviour is intentional and presents an opportunity to improve the application with Copilot 🙂

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.

2 participants