Update src/routes/getIsUserVIP.js

Co-authored-by: Ajay Ramachandran <dev@ajay.app>
This commit is contained in:
Joe Dowd 2020-08-31 01:44:30 +01:00 committed by GitHub
parent 5f23fdd590
commit 36ce803828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {