setup

This commit is contained in:
Ricardo Espinoza
2020-03-05 18:25:18 -05:00
parent 24670cb7ee
commit fe36c9c76a
10 changed files with 2167 additions and 611 deletions

View File

@@ -203,7 +203,7 @@ class App {
});
}
jwt.verify(token, getKey, {}, (err: Error, decoded: string) => {
jwt.verify(token, getKey, {}, (err: Error) => {
if (err) return ResponseHelper.jwtAuthAuthorizationError(res, "Invalid token");
next();