Skip to content

Commit

Permalink
Fix setBucketTagging tags parameter type (minio#1299)
Browse files Browse the repository at this point in the history
Co-authored-by: Wayne Maurer <[email protected]>
  • Loading branch information
wmaurer and wmaurer authored May 31, 2024
1 parent 3d07e31 commit d9644e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@ export class TypedClient {
await this.makeRequestAsync(requestOptions, '', [200, 204])
}

async setBucketTagging(bucketName: string, tags: Tag): Promise<void> {
async setBucketTagging(bucketName: string, tags: Tags): Promise<void> {
if (!isValidBucketName(bucketName)) {
throw new errors.InvalidBucketNameError('Invalid bucket name: ' + bucketName)
}
Expand Down

0 comments on commit d9644e5

Please sign in to comment.