mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
⚡ Fix build issue with new interfaces
This commit is contained in:
parent
a00c9e0efb
commit
7a27979ddd
|
@ -209,8 +209,8 @@ class App {
|
|||
});
|
||||
}
|
||||
|
||||
jwt.verify(token, getKey, {}, (err: Error, decoded: object) => {
|
||||
if (err) return ResponseHelper.jwtAuthAuthorizationError(res, "Invalid token");
|
||||
jwt.verify(token, getKey, {}, (err: jwt.VerifyErrors, decoded: object) => {
|
||||
if (err) return ResponseHelper.jwtAuthAuthorizationError(res, 'Invalid token');
|
||||
|
||||
next();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue