Commit 08c0b727 authored by Mark Stenglein's avatar Mark Stenglein

Linting and cleanup take 3.1

parent 34bce523
Pipeline #714 passed with stage
in 43 seconds
......@@ -269,10 +269,10 @@ router.get('/ical/:SCHOOL/:SEMSLUG/:SECTIONS', function (req, res, next) {
).then(function (queries) {
// Check for invalid responses and throw appropriate errors
if (!queries[0]) {
throw new helpers.userException('Invalid School Given!')
throw new helpers.UserException('Invalid School Given!')
}
if (!queries[1]) {
throw new helpers.userException('Invalid Semester Given')
throw new helpers.UserException('Invalid Semester Given')
}
// Generate the calendar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment