sysone-api-mapper 1.0.45 → 1.0.46

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.45",
3
+ "version": "1.0.46",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -273,7 +273,7 @@ export const getActivityList = async (response) => {
273
273
 
274
274
  export const getProductsBySubsections = async (response) => {
275
275
  const objectMapped = {
276
- values: response.map(item => ({
276
+ values: response.products.map(item => ({
277
277
  name: item.name,
278
278
  code: item.code,
279
279
  version: item.version,