Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bwieger-atlassian-com committed Feb 15, 2025
1 parent b8d278d commit 7bb17db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/atlclients/clientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class ClientManager implements Disposable {
} else {
result = {
repositories:
isBasicAuthInfo(info) || isPATAuthInfo(info) // bwieger - this is the missing piece
isBasicAuthInfo(info) || isPATAuthInfo(info)
? new ServerRepositoriesApi(this.createHTTPClient(site, info))
: undefined!,
pullrequests:
Expand Down
1 change: 0 additions & 1 deletion src/jira/jira-client/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export function basicJiraTransportFactory(site: DetailedSiteInfo): TransportFact
}

export const jiraTokenAuthProvider = (token: string): AuthorizationProvider => {
// bwieger - copy this? s
return (method: string, url: string) => {
return Promise.resolve(`Bearer ${token}`);
};
Expand Down

0 comments on commit 7bb17db

Please sign in to comment.