AltCamp is an e-learning platform that allows students to post messages to the discussion threads, interact and receive feedback from other students and instructors, and hence create a deeper understanding of the subject matter being discussed.
When a get all posts request is made to the api, it should return a count value for the number of posts in the database, whether the request data is paginated or not.
How to Fix It
Get the length of the data array returned which is just the number of posts.
Additional Context
No response
Specific File Path(s) on the Repo to be Modified/Refered to
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Contact Details
No response
The Problem
When a get all posts request is made to the api, it should return a count value for the number of posts in the database, whether the request data is paginated or not.
How to Fix It
Get the length of the data array returned which is just the number of posts.
Additional Context
No response
Specific File Path(s) on the Repo to be Modified/Refered to
No response
Code of Conduct