Skip to content

Commit

Permalink
Fix graphql field for queryGrades
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhxNguyen7 committed Oct 10, 2023
1 parent ef40ee2 commit 926cda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/antalmanac/src/lib/grades.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 926cda4

Please sign in to comment.