Skip to content

Commit

Permalink
actually call base call from token auth
Browse files Browse the repository at this point in the history
  • Loading branch information
gmishkin committed Jan 31, 2025
1 parent 58cd331 commit c4d7b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def __init__(self, token: str, session: ResilientSession | None = None):
def __call__(self, r: requests.PreparedRequest):
# modify and return the request
r.headers["authorization"] = f"Bearer {self._token}"
return r
return super().__call__(r)

def init_session(self):
pass # token should still work, only thing needed is to clear session cookies which happens next
Expand Down

0 comments on commit c4d7b6f

Please sign in to comment.