From 3ac12eec337bc42d17104dde6eef0aa239ab2b8a Mon Sep 17 00:00:00 2001 From: Ajit Singh Date: Sun, 19 Jan 2025 14:11:46 +0530 Subject: [PATCH] fix: updated spelling of function from meatadata to metadata --- src/storage/protocols/s3/s3-handler.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/storage/protocols/s3/s3-handler.ts b/src/storage/protocols/s3/s3-handler.ts index 54c4b11b..f1ad2fe7 100644 --- a/src/storage/protocols/s3/s3-handler.ts +++ b/src/storage/protocols/s3/s3-handler.ts @@ -808,7 +808,7 @@ export class S3ProtocolHandler { let metadataHeaders: Record = {} if (object.user_metadata) { - metadataHeaders = toAwsMeatadataHeaders(object.user_metadata) + metadataHeaders = toAwsMetadataHeaders(object.user_metadata) } return { @@ -880,7 +880,7 @@ export class S3ProtocolHandler { let metadataHeaders: Record = {} if (object.user_metadata) { - metadataHeaders = toAwsMeatadataHeaders(object.user_metadata) + metadataHeaders = toAwsMetadataHeaders(object.user_metadata) } return { @@ -1280,7 +1280,7 @@ export class S3ProtocolHandler { } } -function toAwsMeatadataHeaders(records: Record) { +function toAwsMetadataHeaders(records: Record) { const metadataHeaders: Record = {} let missingCount = 0