Skip to content

Commit

Permalink
Merge branch '2.4.7-beta1-develop' into application-server-part3
Browse files Browse the repository at this point in the history
  • Loading branch information
andimov authored Jun 2, 2023
2 parents de0c5be + c0d47f1 commit 267bcac
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,13 @@ public function execute()
$fileSize = $this->sampleFileProvider->getSize($entityName);
$fileName = $entityName . '.csv';

$this->fileFactory->create(
return $this->fileFactory->create(
$fileName,
null,
$fileContents,
DirectoryList::VAR_IMPORT_EXPORT,
'application/octet-stream',
$fileSize
);

$resultRaw = $this->resultRawFactory->create();
$resultRaw->setContents($fileContents);

return $resultRaw;
}

/**
Expand Down

0 comments on commit 267bcac

Please sign in to comment.