Skip to content

Commit

Permalink
[BUGFIX] Fix regression with CSV download in LeadController file
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Nov 21, 2024
1 parent ffdae5c commit c97f198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Controller/LeadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function downloadCsvAction(FilterDto $filter): ResponseInterface
$this->view->assignMultiple([
'allVisitors' => $this->visitorRepository->findAllWithIdentifiedFirst($filter->setLimit(750)),
]);
return $this->csvResponse($this->moduleTemplate->render());
return $this->csvResponse();
}

/**
Expand Down Expand Up @@ -287,7 +287,7 @@ public function downloadCsvCompaniesAction(FilterDto $filter): ResponseInterface
$this->view->assignMultiple([
'companies' => $this->companyRepository->findByFilter($filter->setLimit(750)),
]);
return $this->csvResponse($this->moduleTemplate->render());
return $this->csvResponse();
}

/**
Expand Down

0 comments on commit c97f198

Please sign in to comment.