Open Kevinnevik opened 6 days ago
Me acaboi de dar cuenta que existen dos sku con el mismo nombre, al acceder al endpoint de productos disponibles , { "sku": "JAMONLAMINADO", "name": "Jamón laminado", "recipe": [ { "req": 1, "sku": "JAMONENTERO" } ], "production": { "batch": 40, "time": 5, "groups": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "at": "kitchen" }, "sellable": false, "expiration": 6, "cost": 10, "price": 159, "storage": { "cold": true } }, { "sku": "JAMONLAMINADO", "name": "Croissant de jamón queso derretido", "recipe": [ { "req": 2, "sku": "JAMONLAMINADO" }, { "req": 2, "sku": "QUESOLAMINADO" }, { "req": 1, "sku": "CROISSANT" } ], "production": { "batch": 1, "time": 5, "groups": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "at": "kitchen" }, "sellable": true, "expiration": 1, "cost": 150, "price": 3590, "storage": { "cold": false } },
Me acaboi de dar cuenta que existen dos sku con el mismo nombre, al acceder al endpoint de productos disponibles , { "sku": "JAMONLAMINADO", "name": "Jamón laminado", "recipe": [ { "req": 1, "sku": "JAMONENTERO" } ], "production": { "batch": 40, "time": 5, "groups": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "at": "kitchen" }, "sellable": false, "expiration": 6, "cost": 10, "price": 159, "storage": { "cold": true } }, { "sku": "JAMONLAMINADO", "name": "Croissant de jamón queso derretido", "recipe": [ { "req": 2, "sku": "JAMONLAMINADO" }, { "req": 2, "sku": "QUESOLAMINADO" }, { "req": 1, "sku": "CROISSANT" } ], "production": { "batch": 1, "time": 5, "groups": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "at": "kitchen" }, "sellable": true, "expiration": 1, "cost": 150, "price": 3590, "storage": { "cold": false } },