Sends a GET request to fetch all student ratings from the backend.
This service function sends an HTTP request to retrieve all student ratings from the database using the backend API. Returns an empty array if no ratings are present.
The id of the student.
If either userId or studentId is not provided.
const studentRatings = await fetchStudentRatings(userId, studentId) Copy
const studentRatings = await fetchStudentRatings(userId, studentId)
Generated using TypeDoc
Sends a GET request to fetch all student ratings from the backend.
This service function sends an HTTP request to retrieve all student ratings from the database using the backend API. Returns an empty array if no ratings are present.