Skip to content

Commit 2112d35

Browse files
aa-kashkkandy
andauthored
ACPT-493: Upload csv with request parameter
Co-authored-by: Andrii Kasian <[email protected]>
1 parent 67d9dde commit 2112d35

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/ImportExport/Model/Source

1 file changed

+1
-2
lines changed

app/code/Magento/ImportExport/Model/Source/Upload.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ public function __construct(
5555
$this->_httpFactory = $httpFactory;
5656
$this->_importExportData = $importExportData;
5757
$this->_uploaderFactory = $uploaderFactory;
58-
$this->random = $random ?: ObjectManager::getInstance()
59-
->get(Random::class);
58+
$this->random = $random;
6059
}
6160
/**
6261
* Move uploaded file.

0 commit comments

Comments
 (0)