@ -209,6 +209,7 @@ function getPastTerm(
term: string
): { year: string; term: string } {
const index = TERMS.indexOf(term);
if (index === -1) {
throw new Error("Not a valid term");
}