diff --git a/lib/api/apiUtils/object/abortMultipartUpload.js b/lib/api/apiUtils/object/abortMultipartUpload.js index f49d861054..c5928b7229 100644 --- a/lib/api/apiUtils/object/abortMultipartUpload.js +++ b/lib/api/apiUtils/object/abortMultipartUpload.js @@ -128,7 +128,7 @@ function abortMultipartUpload(authInfo, bucketName, objectKey, uploadId, log, uploadId, versionId: objectMD.versionId }); - return metadata.deleteObjectMD(bucketName, objectKey, {versionId: objectMD.versionId}, log, err => { + return metadata.deleteObjectMD(bucketName, objectKey, { versionId: objectMD.versionId }, log, err => { if (err) { log.error('error deleting object metadata', { error: err }); }