diff --git a/lib/api/completeMultipartUpload.js b/lib/api/completeMultipartUpload.js index 840ceb0fa4..09beb6135b 100644 --- a/lib/api/completeMultipartUpload.js +++ b/lib/api/completeMultipartUpload.js @@ -367,9 +367,9 @@ function completeMultipartUpload(authInfo, request, log, callback) { // if x-scal-s3-version-id header is specified, we overwrite the object/version metadata. if (isPutVersion) { const options = overwritingVersioning(objMD, metaStoreParams); - return process.nextTick(() => next(null, destBucket, dataLocations, + return process.nextTick(() => next(null, destBucket, extraPartLocations, dataLocations, metaStoreParams, mpuBucket, keysToDelete, aggregateETag, - objMD, extraPartLocations, pseudoCipherBundle, + objMD, pseudoCipherBundle, completeObjData, options)); } return versioningPreprocessing(bucketName,