UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

[BACKEND] Change membership endpoint to allow client to select membership type #341

Closed bcho892 closed 5 months ago

bcho892 commented 5 months ago

Is your feature request related to a problem? Please describe.

Right now we select the membership the user gets based on their user data (#278), however it was agreed upon with the client that this causes issues for graduates etc who may not be able to provide the relevant details.

We must now let the membership endpoint take in a request body that specifies the membership type given in the format MembershipTypeValues

Most of the logic should be kept the same.

BEFORE MERGING