Skip to content

Commit babdaf7

Browse files
committed
Fix TokenAuth
1 parent fe4c1cb commit babdaf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toggl_python/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55

66
class BasicAuth(httpx.BasicAuth):
7-
pass
7+
""""""
88

99

1010
class TokenAuth(httpx.BasicAuth):
1111
SECRET: str = "api_token"
1212

1313
def __init__(self, token: typing.Union[str, bytes]):
14-
self.auth_header = self.build_auth_header(token, self.SECRET)
14+
super().__init__(token, self.SECRET)

0 commit comments

Comments
 (0)