diff --git a/src/controllers/AuthControler.ts b/src/controllers/AuthControler.ts index a524f56..4f0649c 100644 --- a/src/controllers/AuthControler.ts +++ b/src/controllers/AuthControler.ts @@ -34,7 +34,7 @@ class AuthControler { if (authHeader) { const token = authHeader.split(" ")[1]; - jwt.verify(token, authTokenSecret, (err, app) => { + jwt.verify(token, authTokenSecret, (err, _) => { if (err) { return res.status(403).json("Invalid token provided"); }