mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Update pr_agent/git_providers/bitbucket_server_provider.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
This commit is contained in:
parent
4a6a55ca7c
commit
34b562db22
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class BitbucketServerProvider(GitProvider):
|
|||
if not self.bitbucket_server_url:
|
||||
raise ValueError("Invalid or missing Bitbucket Server URL parsed from PR URL.")
|
||||
self.bitbucket_server_url = self._parse_bitbucket_server(url=pr_url)
|
||||
#If bearer token is provided, use it to authenticate, otherwise use username and password
|
||||
# If bearer token is provided, use it to authenticate, otherwise use username and password
|
||||
try:
|
||||
if self.bearer_token:
|
||||
self.bitbucket_client = bitbucket_client or Bitbucket(
|
||||
|
|
|
|||
Loading…
Reference in a new issue