From 1c93ad0778d9bde1ba4caf87f24ecef27a8346a9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Sep 2021 16:45:02 +0200 Subject: Fix object storage multipart upload --- server/lib/object-storage/shared/object-storage-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/object-storage/shared/object-storage-helpers.ts') diff --git a/server/lib/object-storage/shared/object-storage-helpers.ts b/server/lib/object-storage/shared/object-storage-helpers.ts index b53b94b96..47c37ffda 100644 --- a/server/lib/object-storage/shared/object-storage-helpers.ts +++ b/server/lib/object-storage/shared/object-storage-helpers.ts @@ -216,7 +216,7 @@ async function multiPartUpload (options: { const completeUploadCommand = new CompleteMultipartUploadCommand({ Bucket: bucketInfo.BUCKET_NAME, - Key: objectStorageKey, + Key: key, UploadId: createResponse.UploadId, MultipartUpload: { Parts: parts } }) -- cgit v1.2.3