From 839b15f8ab9694f88683a5132118e674fc7f3610 Mon Sep 17 00:00:00 2001 From: Damon Aw Date: Sat, 1 Jul 2017 15:33:30 -0400 Subject: [PATCH] And of course, actually use the handler --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 047ce0b..87cd3f8 100644 --- a/index.js +++ b/index.js @@ -16,6 +16,7 @@ const fetchMTAStatus = require('./services/fetch-mta-status.js'); // Handlers const storeFavoriteLineHandler = require('./handlers/store-favorite-line.js'); const checkFavoriteLinesHandler = require('./handlers/check-favorite-lines.js'); +const checkFavoriteLinesStatusHandler = require('./handlers/check-favorite-lines-status.js'); // Utilities const closestLineMatcher = require('./utilities/closest-line-matcher.js'); @@ -77,6 +78,7 @@ var handlers = { fullStatusUpdate: fullStatusUpdateHandler, storeFavoriteLine: storeFavoriteLineHandler, checkFavoriteLines: checkFavoriteLinesHandler, + checkFavoriteLinesStatus: checkFavoriteLinesStatusHandler, Unhandled: fullStatusUpdateHandler, };