sysone-api-mapper 1.0.111 → 1.0.112

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysone-api-mapper",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -436,7 +436,7 @@ export const getProductsBySubsections = async (response) => {
436
436
  version: item.version,
437
437
  subsection: item?.subsection || null,
438
438
  fieldExclusions: item?.fieldExclusions || null,
439
- fieldValues: item?.fieldValues || null
439
+ fields: item?.fieldValues || item?.fields || null
440
440
  })),
441
441
  };
442
442
  return objectMapped;