fix(medusa-file-s3, medusa): Add S3 export support (#2380)

This commit is contained in:
Philip Korsholm
2022-10-08 18:09:01 +02:00
committed by GitHub
parent a908a7716c
commit 053206a390
2 changed files with 69 additions and 23 deletions
@@ -319,7 +319,10 @@ class OrderExportStrategy extends AbstractBatchJobStrategy {
fieldName: "sales_channel",
title: ["Sales channel name", "Sales channel description"].join(";"),
accessor: (order: Order): string =>
[order.sales_channel.name, order.sales_channel.description].join(";"),
[
order.sales_channel?.name || "",
order.sales_channel?.description || "",
].join(";"),
})
}
}