multicloud_rule_manager 1.1.83 → 1.1.85

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.
@@ -101,10 +101,12 @@ export default {
101
101
  "products_structure"
102
102
  );
103
103
 
104
- const productStructureRootId = products.find(
104
+ const productStructureRoot = structure.find(
105
105
  (p) => p.product_id === rootGuid
106
106
  );
107
107
 
108
+ const productStructureRootId = productStructureRoot.guid;
109
+
108
110
  console.log('rootGuid: '+rootGuid);
109
111
  console.log('productStructureRootId: '+productStructureRootId);
110
112
  console.log(`🌳 Totale elementi structure: ${structure.length}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multicloud_rule_manager",
3
- "version": "1.1.83",
3
+ "version": "1.1.85",
4
4
  "description": "CLI interna per retrieve/upload con token",
5
5
  "main": "index.js",
6
6
  "type": "module",