pim-import 5.12.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@ const products_1 = require("../../algolia/products");
|
|
|
17
17
|
const designers_1 = require("./designers");
|
|
18
18
|
const notifications_1 = require("../../libs/notifications");
|
|
19
19
|
const PIM_DUPLICATE_SEPARATOR = "~";
|
|
20
|
-
const S3_PIM_PAYLOAD_PATH = `pim/payload/${process.env.FPI_CTF_ENVIRONMENT
|
|
20
|
+
const S3_PIM_PAYLOAD_PATH = `pim/payload/${process.env.FPI_CTF_ENVIRONMENT ? process.env.FPI_CTF_ENVIRONMENT + "/" : ""}`;
|
|
21
21
|
const isTermsToAdd = async (productDetails, catalog) => {
|
|
22
22
|
if (!productDetails.code.includes(PIM_DUPLICATE_SEPARATOR)) {
|
|
23
23
|
return false;
|