fix chunks
This commit is contained in:
parent
e1f45b5a2d
commit
ce07c464f8
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ App::post('/v1/functions/:functionId/tags')
|
||||||
if(!$tag->isEmpty()) {
|
if(!$tag->isEmpty()) {
|
||||||
$chunks = $tag->getAttribute('chunksTotal', 1);
|
$chunks = $tag->getAttribute('chunksTotal', 1);
|
||||||
if($chunk == -1) {
|
if($chunk == -1) {
|
||||||
$chunk = $chunks - 1;
|
$chunk = $chunks;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue