Compare commits

..

No commits in common. "97b0599c0f17990a724ee468f741eea66f8157af" and "3fa770880bc603d503755882cd6bd136c7943041" have entirely different histories.

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, _) => {
jwt.verify(token, authTokenSecret, (err, app) => {
if (err) {
return res.status(403).json("Invalid token provided");
}