multicloud_rule_manager 1.1.35 → 1.1.37

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.
@@ -94,11 +94,14 @@ export default {
94
94
 
95
95
  const mapData = await mapResp.json();
96
96
 
97
- const children = mapData?.map_j2j_published?._children;
97
+ var children = mapData?.map_j2j_published?._children;
98
98
 
99
99
  if (!Array.isArray(children)) {
100
- console.warn(`⚠️ Nessun _children trovato per ${record.name} - ${record.guid}`);
101
- continue;
100
+ children = mapData?.map_j2j_published;
101
+ if (!Array.isArray(children)) {
102
+ console.warn(`⚠️ Nessun _children trovato per ${record.name} - ${record.guid}`);
103
+ continue;
104
+ }
102
105
  }
103
106
 
104
107
  // costruzione JSON finale
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multicloud_rule_manager",
3
- "version": "1.1.35",
3
+ "version": "1.1.37",
4
4
  "description": "CLI interna per retrieve/upload con token",
5
5
  "main": "index.js",
6
6
  "type": "module",