Compare commits

...

2 Commits

1 changed files with 1 additions and 1 deletions

View File

@ -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");
}