chore: updating changesets and api-reports
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user