boilerplate-project-messageboard
boilerplate-project-messageboard copied to clipboard
fix: thread report request
Checklist:
- [x] I have read freeCodeCamp's contribution guidelines.
- [x] My pull request has a descriptive title (not a vague title like
Update index.md)
Tests expects you to use "thread_id" when reporting a thread with PUT request, but the project's frontend is using "report_id" for the request. Link to tests
Description and test is rather clear about using thread_id. Demo project appear to use report_id - https://anonymous-message-board.freecodecamp.rocks/ https://github.com/freeCodeCamp/demo-projects/tree/main/apps/anonymous-message-board. It'd be good to change that one as well.