From f859cdeeb10f53754d285266641d459326b41a88 Mon Sep 17 00:00:00 2001 From: Alie Date: Fri, 29 Dec 2023 09:53:31 +0100 Subject: [PATCH] remove unused variable --- src/controllers/AuthControler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }