fix upload recording (#274)

This commit is contained in:
Hoan Luu Huu
2023-12-18 20:36:25 +07:00
committed by GitHub
parent 10159a0ba6
commit c6b8ec1b28
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ class S3MultipartUploadStream extends Writable {
super(opts);
this.logger = logger;
this.bucketName = opts.bucketName;
this.objectKey = opts.objectKey;
this.objectKey = opts.Key;
this.uploadId = null;
this.partNumber = 1;
this.multipartETags = [];

View File

@@ -5,7 +5,7 @@ const S3MultipartUploadStream = require('./s3-multipart-upload-stream');
const getUploader = (key, metadata, bucket_credential, logger) => {
const uploaderOpts = {
bucketName: bucket_credential.name,
objectKey: key,
Key: key,
metadata
};
try {