From ebc4322f854cb10afaddf007979a592ca3160f30 Mon Sep 17 00:00:00 2001 From: Marvin Schenkel Date: Sat, 31 Jan 2026 09:05:42 +0100 Subject: [PATCH] Fix mypy jwt --- music_assistant/helpers/jwt_auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/music_assistant/helpers/jwt_auth.py b/music_assistant/helpers/jwt_auth.py index 8f00db8d..c7d6bb03 100644 --- a/music_assistant/helpers/jwt_auth.py +++ b/music_assistant/helpers/jwt_auth.py @@ -75,12 +75,11 @@ class JWTHelper: :return: Decoded token payload. :raises jwt.InvalidTokenError: If token is invalid or expired. """ - options = {"verify_exp": verify_exp} payload: dict[str, Any] = jwt.decode( token, self.secret_key, algorithms=[self.algorithm], - options=options, + options={"verify_exp": verify_exp}, ) return payload -- 2.34.1