Skip to content

Commit 9f719d0

Browse files
committed
fix: Output shape validation will delete keys when there is a list of files
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
1 parent 59c05fc commit 9f719d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/TaskProcessing/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ public function encapsulateOutputFileData(array $output, ...$specs): array {
16071607
$file = $folder->newFile(time() . '-' . rand(1, 100000), $output[$key]);
16081608
$newOutput[$key] = $file->getId(); // polymorphic call to SimpleFile
16091609
} else {
1610-
$newOutput = [];
1610+
$newOutput[$key] = [];
16111611
foreach ($output[$key] as $item) {
16121612
/** @var SimpleFile $file */
16131613
$file = $folder->newFile(time() . '-' . rand(1, 100000), $item);

0 commit comments

Comments
 (0)