fix(registration): prevent duplicate event registrations#361
fix(registration): prevent duplicate event registrations#361mayurigade-hub wants to merge 2 commits into
Conversation
|
@mayurigade-hub is attempting to deploy a commit to the anubhav12302387's projects Team on Vercel. A member of the Team first needs to authorize it. |
👋 Thanks for opening a PR, @mayurigade-hub!Your PR has entered the 🎯 EventOne GSSoC PR Review Pipeline.
What happens next
A pipeline status comment will appear below and update automatically as your PR progresses. While you wait
This comment is posted only once. EventOne × GSSoC Automated Pipeline |
✅ PR Format Check — PassedHi @mayurigade-hub! Your PR passed all automated checks and is now queued for mentor review. 🎉
|
|
Hello @anubhavxdev |
✦ Description
Prevents duplicate event registrations for the same user.
Added backend validation to check whether a user is already registered for an event before creating a new registration. Also added database-level protection to prevent duplicate user-event registrations and updated the frontend to avoid repeated registration attempts.
Closes #354
⟡ Type of Change
✦ Checklist
⟡ Screenshots / Screen Recordings
Not applicable.