fix(medusa): downgrade papaparse version (#4174)

* fix: downgrade `papaparse` version

* chore: changesets

---------

Co-authored-by: fPolic <frane@medusajs.com>
This commit is contained in:
Frane Polić
2023-05-25 20:26:58 +02:00
committed by GitHub
parent 345beb7010
commit 92f01cefbc
4 changed files with 24 additions and 8 deletions
@@ -136,11 +136,11 @@ class ProductImportStrategy extends AbstractBatchJobStrategy {
row: TParsedProductImportRowData,
errorDescription?: string
): never {
const message = `Error while processing row with:
product id: ${row["product.id"]},
product handle: ${row["product.handle"]},
variant id: ${row["variant.id"]}
variant sku: ${row["variant.sku"]}
const message = `Error while processing row with
[(product id: ${row["product.id"]}),
(product handle: ${row["product.handle"]}),
(variant id: ${row["variant.id"]}),
(variant sku: ${row["variant.sku"]})]:
${errorDescription}`
throw new MedusaError(MedusaError.Types.INVALID_DATA, message)