peterportal-public-api
peterportal-public-api copied to clipboard
Cannot read course id null
For queries to websoc, some courses we don't have in our cache, and this throws an error.
This is the error message:
Cannot read property 'id' of null"
Example query:
{
schedule(year:2020, quarter:"Fall", department:"COMPSCI", course_number:"275") {
course {
id
department
course_level
description
}
}
}