From 36ce803828bd2dfec60037e5a871d0f815bd4a35 Mon Sep 17 00:00:00 2001 From: Joe Dowd Date: Mon, 31 Aug 2020 01:44:30 +0100 Subject: [PATCH] Update src/routes/getIsUserVIP.js Co-authored-by: Ajay Ramachandran --- src/routes/getIsUserVIP.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/getIsUserVIP.js b/src/routes/getIsUserVIP.js index d38ef9d..63efd02 100644 --- a/src/routes/getIsUserVIP.js +++ b/src/routes/getIsUserVIP.js @@ -4,7 +4,7 @@ var getHash = require('../utils/getHash.js'); const logger = require('../utils/logger.js'); const isUserVIP = require('../utils/isUserVIP.js'); -module.exports = function getUsername (req, res) { +module.exports = (req, res) => { let userID = req.query.userID; if (userID == undefined) { @@ -28,4 +28,4 @@ module.exports = function getUsername (req, res) { return; } -} \ No newline at end of file +}