Skip to content

Commit a93aab0

Browse files
committed
Fixing error message
1 parent dca77aa commit a93aab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arangoasync/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def needs_refresh(self, leeway: int = 0) -> bool:
103103
def _validate(self) -> None:
104104
"""Validate the token."""
105105
if type(self._token) is not str:
106-
raise TypeError("Token must be str or bytes")
106+
raise TypeError("Token must be str")
107107

108108
jwt_payload = jwt.decode(
109109
self._token,

0 commit comments

Comments
 (0)