icssc / peterportal-public-api

API that provides easy-access to UC Irvine data such as: courses, professors, grade distribution, schedule of classes, and more
https://api.peterportal.org/
MIT License
23 stars 11 forks source link

Fix graphql grades(year) documentation #223

Closed tjhu closed 1 year ago

tjhu commented 1 year ago

Reference Issues

N/A

Summary of Change/Fix

The description of the year argument of grades is different from its implementation. The implementation requires the <END_YEAR> to be 2 digits.

https://github.com/icssc/peterportal-public-api/blob/ed58126b9e2ff6af77d41624af678756a49e3d8f/helpers/grades.helper.ts#L43

Test Plan

N/A