Skip to content

Commit

Permalink
[AXON-110] BitBucket DC PAT Auth Bug (#125)
Browse files Browse the repository at this point in the history
* It works now

* clean up
  • Loading branch information
bwieger-atlassian-com authored Feb 18, 2025
1 parent 9fe90a5 commit a90428d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/atlclients/clientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,14 @@ export class ClientManager implements Disposable {
};
} else {
result = {
repositories: isBasicAuthInfo(info)
? new ServerRepositoriesApi(this.createHTTPClient(site, info))
: undefined!,
pullrequests: isBasicAuthInfo(info)
? new ServerPullRequestApi(this.createHTTPClient(site, info))
: undefined!,
repositories:
isBasicAuthInfo(info) || isPATAuthInfo(info)
? new ServerRepositoriesApi(this.createHTTPClient(site, info))
: undefined!,
pullrequests:
isBasicAuthInfo(info) || isPATAuthInfo(info)
? new ServerPullRequestApi(this.createHTTPClient(site, info))
: undefined!,
issues: undefined,
pipelines: undefined,
};
Expand Down

0 comments on commit a90428d

Please sign in to comment.