From 926cda49213ad3b4ee8737b0fcfbe67bcdafda57 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:57:35 +0000 Subject: [PATCH] Fix graphql field for queryGrades --- apps/antalmanac/src/lib/grades.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/antalmanac/src/lib/grades.ts b/apps/antalmanac/src/lib/grades.ts index 3508d8702..8e0d5d8e9 100644 --- a/apps/antalmanac/src/lib/grades.ts +++ b/apps/antalmanac/src/lib/grades.ts @@ -143,7 +143,7 @@ class _Grades { if (cacheOnly) return null; const queryString = `{ - aggregateByOffering(department: "${deptCode}", courseNumber: "${courseNumber}", ${instructorFilter}) { + aggregateGrades(department: "${deptCode}", courseNumber: "${courseNumber}", ${instructorFilter}) { gradeDistribution { gradeACount gradeBCount