Skip to content

Commit

Permalink
Fix mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
d61h6k4 committed Jun 16, 2023
1 parent 250700c commit da7a962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/core/channels/botframework.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def _validate_jwt_token(self, jwt_token: Text) -> None:
raise InvalidKeyError(f"JWT Key with ID {key_id} not found.")

key_json = self.jwt_keys[key_id]
public_key = RSAAlgorithm.from_jwk(key_json) # type: ignore
public_key = RSAAlgorithm.from_jwk(key_json) # type: ignore[no-untyped-call]
jwt.decode(
jwt_token,
key=public_key,
Expand Down

0 comments on commit da7a962

Please sign in to comment.