From d9644e516227c8be8181fa8ac9ada05792ee8661 Mon Sep 17 00:00:00 2001 From: Wayne Maurer Date: Fri, 31 May 2024 09:02:12 +0200 Subject: [PATCH] Fix setBucketTagging tags parameter type (#1299) Co-authored-by: Wayne Maurer <2899448+wmaurer@users.noreply.github.com> --- src/internal/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/client.ts b/src/internal/client.ts index 83b980f7..decc795d 100644 --- a/src/internal/client.ts +++ b/src/internal/client.ts @@ -2175,7 +2175,7 @@ export class TypedClient { await this.makeRequestAsync(requestOptions, '', [200, 204]) } - async setBucketTagging(bucketName: string, tags: Tag): Promise { + async setBucketTagging(bucketName: string, tags: Tags): Promise { if (!isValidBucketName(bucketName)) { throw new errors.InvalidBucketNameError('Invalid bucket name: ' + bucketName) }