mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Update src/routes/getIsUserVIP.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
This commit is contained in:
parent
5f23fdd590
commit
36ce803828
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue