add: create product based on csv
This commit is contained in:
@@ -7,10 +7,7 @@ export async function parsingFile(dataFile) {
|
||||
const results = [];
|
||||
|
||||
const file = createReadStream(
|
||||
path.join(
|
||||
process.cwd(),
|
||||
'./files/Template Upload Product - Sheet1-a532.csv',
|
||||
),
|
||||
path.join(process.cwd(), `./files/${dataFile}`),
|
||||
);
|
||||
|
||||
file
|
||||
|
||||
Reference in New Issue
Block a user