chore: updating changesets and api-reports

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-06-24 13:18:14 +02:00
parent b5a988f0c3
commit b5deed0c1b
16 changed files with 29 additions and 42 deletions
@@ -139,11 +139,10 @@ export class BitbucketCloudClient {
'utf8',
);
headers.Authorization = `Basic ${buffer.toString('base64')}`;
} else if (this.config.token) {
headers.Authorization = `Bearer ${this.config.token}`;
}
if (this.config.accessToken)
headers.Authorization = `Bearer ${this.config.accessToken}`;
return headers;
}
}