mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
Fix token assignment in Bitbucket provider authentication
This commit is contained in:
parent
fc6de449ad
commit
8bdd11646c
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class BitbucketProvider(GitProvider):
|
|||
self.bearer_token = None
|
||||
|
||||
if not self.bearer_token:
|
||||
get_token("bearer_token", "Bearer")
|
||||
self.bearer_token = get_token("bearer_token", "Bearer")
|
||||
s.headers["Authorization"] = f"Bearer {self.bearer_token}"
|
||||
else:
|
||||
raise ValueError(f"Unsupported auth_type: {self.auth_type}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue