Open aidanho1188 opened 8 months ago
https://github.com/burlingtoncodeacademy-students/g3-react-chat/blob/2fb1c42bddb0384440a197e8c7a234ac390004b7/server/routes/api/rooms.js#L9
We should update this endpoint to get either all rooms or one single room .
/:roomId?
I think it's a good idea....perhaps we should create it as /rooms:roomID? to.
https://github.com/burlingtoncodeacademy-students/g3-react-chat/blob/2fb1c42bddb0384440a197e8c7a234ac390004b7/server/routes/api/rooms.js#L9
We should update this endpoint to get either all rooms or one single room .