From 695696965cd881c05fe1cd9b92ccfb19a3fdf840 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sun, 14 Jan 2018 10:37:07 -0500 Subject: [PATCH] Add missing semicolon --- app/routes/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/routes.js b/app/routes/routes.js index 9f93520..f9bee8c 100755 --- a/app/routes/routes.js +++ b/app/routes/routes.js @@ -7,7 +7,7 @@ var register = require('./register.js'); var login = require('./login.js'); var panel = require('./panel.js'); var keys = require('./keys.js'); -var invites = require('./invites.js') +var invites = require('./invites.js'); var Key = require('../models/Key.js'); @@ -55,7 +55,7 @@ module.exports = function (app) { app.use('/panel', requireLogin, panel); app.use('/panel*', requireLogin, panel); - app.use(function (err, req, res, next) { + app.use(function (err, req, res) { if (err.name === 'UnauthorizedError') { res.status(401); res.json({"message": err.name + ": " + err.message});