multicloud_rule_manager 1.1.21 → 1.1.22
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/commands/retrieve.js +1 -7
- package/package.json +1 -1
package/commands/retrieve.js
CHANGED
|
@@ -30,8 +30,6 @@ export default {
|
|
|
30
30
|
const loginData = await loginResp.json(); // leggi direttamente JSON
|
|
31
31
|
const access_token = loginData.access_token;
|
|
32
32
|
|
|
33
|
-
console.log("🔹 Token response raw:", access_token);
|
|
34
|
-
|
|
35
33
|
if (!access_token) {
|
|
36
34
|
throw new Error("Token non ricevuto nel campo 'access_token'");
|
|
37
35
|
}
|
|
@@ -55,11 +53,7 @@ export default {
|
|
|
55
53
|
|
|
56
54
|
|
|
57
55
|
const data = await apiResp.json();
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
console.log("🔹 API final URL:", data.url);
|
|
56
|
+
|
|
63
57
|
|
|
64
58
|
// Controlla che sia array
|
|
65
59
|
if (!Array.isArray(data)) {
|