remove unused variable
This commit is contained in:
parent
0d2e8dfe36
commit
f859cdeeb1
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue