~blocked by #191, to be reviewed after #191 merges~
Context
Following up to the changes introduced in #191, the count procedure is public and will allow anyone with knowledge of the endpiont to query for count of all reviews, which is undesirable
This PR makes count a private trpc procedure and removes review count and prof/course count on search results (previously relying on public procedure to display)
~blocked by #191, to be reviewed after #191 merges~
Context
Following up to the changes introduced in #191, the count procedure is public and will allow anyone with knowledge of the endpiont to query for count of all reviews, which is undesirable
This PR makes count a private trpc procedure and removes review count and prof/course count on search results (previously relying on public procedure to display)
Changes
api.reviews.count
a private trpc procedureHow to Test
Preview / Screenshots
Checklist