feat: dummy replacement pdf upload for environments other than prod

This commit is contained in:
Björn Fromme
2026-03-15 12:42:28 +01:00
parent 3b99757a08
commit 8988ae7620
12 changed files with 78 additions and 16 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class DownloadController extends AbstractController
#[IsGranted('DOWNLOAD', subject: 'upload')]
public function index(Upload $upload, Request $request): Response
{
$path = $this->uploadHandler->getUploadFilepath($upload);
$path = $this->uploadHandler->getResolvedUploadFilepath($upload);
if (true === in_array($upload->getType(), [Upload::TYPE_INVOICE, Upload::TYPE_CONTRACT])) {
$namer = new DownloadNamer();