|
@@ -159,7 +159,7 @@ async function awsuploadpart(filestate, file, uploadid, parts, key) {
|
|
start = i * partsize;
|
|
start = i * partsize;
|
|
end = (i + 1) * partsize;
|
|
end = (i + 1) * partsize;
|
|
if (!partarr.includes(i)) {
|
|
if (!partarr.includes(i)) {
|
|
- uploadpart = await uploadPart(file, key, uploadid, i, start, end);
|
|
|
|
|
|
+ uploadpart = await uploadPart(file, key, uploadid, i + 1, start, end);
|
|
if (uploadpart.ETag != null) {
|
|
if (uploadpart.ETag != null) {
|
|
completeparts.push(uploadpart);
|
|
completeparts.push(uploadpart);
|
|
filestate.percent = parseInt((completeparts.length * 100) / count);
|
|
filestate.percent = parseInt((completeparts.length * 100) / count);
|