Skip to content

Commit 9f1263e

Browse files
committed
made uploaded file chunk optional so that tests do not fail
1 parent 2f9405e commit 9f1263e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/V1Module/presenters/UploadedFilesPresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public function checkAppendPartial(string $id)
443443
*/
444444
#[Query("offset", new VInt(), "Offset of the chunk for verification", required: true)]
445445
#[Path("id", new VUuid(), "Identifier of the partial file", required: true)]
446-
#[File(FileRequestType::OctetStream, "A chunk of the uploaded file")]
446+
#[File(FileRequestType::OctetStream, "A chunk of the uploaded file", required: false)]
447447
public function actionAppendPartial(string $id, int $offset)
448448
{
449449
$partialFile = $this->uploadedPartialFiles->findOrThrow($id);

0 commit comments

Comments
 (0)