remove unused variable

This commit is contained in:
Alie 2023-12-29 09:53:31 +01:00
parent 0d2e8dfe36
commit f859cdeeb1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class AuthControler {
if (authHeader) { if (authHeader) {
const token = authHeader.split(" ")[1]; const token = authHeader.split(" ")[1];
jwt.verify(token, authTokenSecret, (err, app) => { jwt.verify(token, authTokenSecret, (err, _) => {
if (err) { if (err) {
return res.status(403).json("Invalid token provided"); return res.status(403).json("Invalid token provided");
} }