diff --git a/client/src/utils/upload-submit.js b/client/src/utils/upload-submit.js index 371f9d642700..6565bad505d0 100644 --- a/client/src/utils/upload-submit.js +++ b/client/src/utils/upload-submit.js @@ -39,7 +39,6 @@ function tusUpload(uploadables, index, data, tusEndpoint, cnf) { retryDelays: [0, 3000, 10000], fingerprint: buildFingerprint(cnf), chunkSize: chunkSize, - metadata: data.payload, storeFingerprintForResuming: false, onError: function (err) { const status = err.originalResponse?.getStatus(); @@ -73,7 +72,7 @@ function tusUpload(uploadables, index, data, tusEndpoint, cnf) { function tusUploadStart(upload) { // Check if there are any previous uploads to continue. - upload.findPreviousUploads().then(function (previousUploads) { + upload.findPreviousUploads().then((previousUploads) => { // Found previous uploads so we select the first one. if (previousUploads.length) { console.log("previous Upload", previousUploads);