From 59d5c422bf35d915e2dd254aca8080e181eaae2e Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 16 Apr 2019 16:14:15 -0400 Subject: [PATCH] added an issue --- api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api.js b/api.js index c8bce2a..6d36c8a 100644 --- a/api.js +++ b/api.js @@ -60,7 +60,8 @@ module.exports = { }, (err, res, body) => { if (!err && res.statusCode == 200) { - next(null); + next("SUCCESS"); + // ISSUE: does not actually reflect errors like being past your registration time } else{ next("Problem communicating with SIS"); -- 2.51.2