UCLA-Creative-Labs / aurgy-backend

the logic behind generating out-of-body music playlists
MIT License
3 stars 0 forks source link

🐛 Bug: add validateUserJwt middleware to lobby/id endpoints GET, PATCH, DELETE #34

Closed darren2hang closed 2 years ago

darren2hang commented 2 years ago

The GET, PATCH, DELETE endpoints for lobby/id don't validate the user. This will result in an error on the frontend side if they follow the current design doc when constructing their requests.

Suggestions

Add the validateUserJwt middleware function to the GET, PATCH, and DELETE endpoints for lobby/id


This is a :bug: Bug Report

BryanPan342 commented 2 years ago

i think #36 completes this but we should test!