Skip to content

Commit 4025080

Browse files
committed
chore: clarify comments
1 parent 9ece015 commit 4025080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/backend.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ const getReviewsByUserId = async (userId: string): Promise<Review[]> => {
277277
}
278278

279279
/**
280-
* Get aggregate data from Supabase table of type `Course` for a course. Output includes zero-row data.
280+
* Get aggregate data from Supabase table of type `Course` for a course. Output includes zero-row data (i.e., `numReviews === 0`).
281281
* @param courseId The OMSCS course ID. If omitted, returns all courses' stats (aggregated).
282282
* @returns {Course[]}
283283
*/
@@ -310,7 +310,7 @@ interface TArgsCourseStats {
310310
}
311311

312312
/**
313-
* Get aggregate data from Supabase table of type `Course` for a course. Output includes zero-row data (i.e., `numReviews == 0`). Can be queried independently for course and/or year and/or semester.
313+
* Get aggregate data from Supabase table of type `Course` for a course. Output includes zero-row data (i.e., `numReviews === 0`). Can be queried independently for course and/or year and/or semester.
314314
* @param courseId The OMSCS course ID. If omitted, returns all courses' stats (year-semesterId row-wise data).
315315
* @param year The year of the course. If omitted, returns courseId and/or semesterId row-wise data.
316316
* @param semesterId The semester of the course. If omitted, returns courseId and/or year row-wise data.

0 commit comments

Comments
 (0)