no message

This commit is contained in:
StudioTem committed 2026-02-03 13:20:22 +01:00
1 parent dbd6f9fe9a
commit 253d02c167
1 file changed
+5 -3
@@ -514,10 +514,12 @@ class SubTaskController extends Controller
// Skopírujeme attachmenty z pôvodného draftu // Skopírujeme attachmenty z pôvodného draftu
foreach ($draft->attachments as $attachment) { foreach ($draft->attachments as $attachment) {
$newSubtask->attachments()->create([ $newSubtask->attachments()->create([
'name' => $attachment->name, 'original_name' => $attachment->original_name,
'disk_name' => $attachment->disk_name,
'path' => $attachment->path, 'path' => $attachment->path,
'size' => $attachment->size, 'extension' => $attachment->extension,
'type' => $attachment->type, 'content_type' => $attachment->content_type,
'file_size' => $attachment->file_size,
]); ]);
} }