Skip to content

Commit 8654c77

Browse files
authored
fix: make getBucketRegionAsync public (#1413)
1 parent fbcfe63 commit 8654c77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/internal/client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,9 +752,8 @@ export class TypedClient {
752752
*
753753
* @param bucketName
754754
*
755-
* @internal
756755
*/
757-
protected async getBucketRegionAsync(bucketName: string): Promise<string> {
756+
async getBucketRegionAsync(bucketName: string): Promise<string> {
758757
if (!isValidBucketName(bucketName)) {
759758
throw new errors.InvalidBucketNameError(`Invalid bucket name : ${bucketName}`)
760759
}

0 commit comments

Comments
 (0)