Skip to content

Commit

Permalink
FFWEB-3078: Fix bug for export preview
Browse files Browse the repository at this point in the history
Fix bug for export preview
  • Loading branch information
Rayn93 committed Jun 14, 2024
1 parent caa7264 commit 3836e4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Model/Export/Catalog/ExportPreviewProducts.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
use Magento\Framework\App\RequestInterface;
use Traversable;

#[AllowDynamicProperties]
class ExportPreviewProducts implements \IteratorAggregate
{
public function __construct(
private readonly ProductRepositoryInterface $productRepository,
private readonly RequestInterface $request,
private int $entityId = 0
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/Service/FeedFileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class FeedFileService
{
private const FEED_FILENAME_PATTERN = 'export.%type%.%channel%.csv';
private const FEED_FILENAME_PATTERN = 'export.%type%Data.%channel%.csv';

public function __construct(private readonly Filesystem $fileSystem)
{
Expand Down

0 comments on commit 3836e4f

Please sign in to comment.