👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2020-03-01 09:52:10 +01:00
parent 82e6a10d98
commit cdfe64d939

View file

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