multicloud_rule_manager 1.1.68 → 1.1.70

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.
@@ -65,7 +65,7 @@ export default {
65
65
  try {
66
66
  console.log("🔹 Retrieve Datamap in corso..");
67
67
  console.log("🔹 Recupero credenziali per alias:", argv.alias);
68
- const cred = getAlias(argv.alias);
68
+ const cred = getAlias(argv.alias);
69
69
 
70
70
  // --- PRIMA CHIAMATA: token ---
71
71
  console.log("🔹 Inizio richiesta token...");
@@ -45,10 +45,8 @@ export default {
45
45
  {
46
46
  method: "GET",
47
47
  headers: {
48
- "Authorization": `Bearer ${access_token}`,
49
- "Accept": "application/json"
50
- },
51
- redirect: "manual"
48
+ "Authorization": `Bearer ${access_token}`
49
+ }
52
50
  }
53
51
  );
54
52
  const products = await safeJson(productsResp, "products");
@@ -75,10 +73,8 @@ export default {
75
73
  {
76
74
  method: "GET",
77
75
  headers: {
78
- "Authorization": `Bearer ${access_token}`,
79
- "Accept": "application/json"
80
- },
81
- redirect: "manual"
76
+ "Authorization": `Bearer ${access_token}`
77
+ }
82
78
  }
83
79
  );
84
80
 
@@ -116,8 +112,7 @@ export default {
116
112
  headers: {
117
113
  "Authorization": `Bearer ${access_token}`,
118
114
  "Accept": "application/json"
119
- },
120
- redirect: "manual"
115
+ }
121
116
  }
122
117
  );
123
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multicloud_rule_manager",
3
- "version": "1.1.68",
3
+ "version": "1.1.70",
4
4
  "description": "CLI interna per retrieve/upload con token",
5
5
  "main": "index.js",
6
6
  "type": "module",