Closed davidh167 closed 1 year ago
Why does the review have the user's username and not their ObjectId? Is this how the test data in the database set up? And what if they have a username that has a length greater than 20? It will break the new endpoint. Also, write the new test cases if you think you need them. Make sure it maintains 100% function coverage. Can you also delete the commented code in ReviewList.jsx? In the interest of time, we can keep it how it is now and adapt how we post a review.
Now can navigate to other users' profiles from their review on a movie's page.
Also modified an endpoint to facilitate it.
userServices can now retrieve a users' profile using their unique username.
Will likely need new test cases