feat: dummy replacement pdf upload for environments other than prod
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user