Fix some issues with Slack-Node

This commit is contained in:
Jan Oberhauser
2020-03-15 15:51:49 +01:00
parent 150aa7daee
commit ff7f0a5de5
9 changed files with 126 additions and 54 deletions

View File

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