fix chunked upload for tags - chunk start from 1

This commit is contained in:
Damodar Lohani committed 2021-11-30 13:46:47 +05:45
1 parent ba8598cc8b
commit 2a6bf47bce
1 file changed
+1 -1
+1 -1
View File
@@ -477,7 +477,7 @@ App::post('/v1/functions/:functionId/tags')
} else {
// Calculate total number of chunks based on the chunk size i.e ($rangeEnd - $rangeStart)
$chunks = (int) ceil($size / ($end + 1 - $start));
$chunk = (int) ($start / ($end + 1 - $start));
$chunk = (int) ($start / ($end + 1 - $start)) + 1;
}
}