This PR links the add new room button to the add-people endpoint.
It also fixes the 500(Internal Server Error).
Fixes #275
How to test?
You can test by running npm run dev if you're signed in you can click on the add new room button to add/delete people when creating a room OR you can just go directly to localhost:3000/add-people and do the same.
Checklist
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ x] I have made corresponding changes to the documentation
[ x] This PR is ready to be merged and not breaking any other functionality
Description
This PR links the add new room button to the add-people endpoint. It also fixes the 500(Internal Server Error).
Fixes #275
How to test?
You can test by running npm run dev if you're signed in you can click on the add new room button to add/delete people when creating a room OR you can just go directly to localhost:3000/add-people and do the same.
Checklist