Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
manustars authored Oct 7, 2024
1 parent 2806f36 commit b8dde9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ async function refreshMetrics() {
const rawResponse = await nhClient.getMiningRigs({ page: currentPage });
const data = rawResponse.data;

console.log("Risposta API:", JSON.stringify(data, null, 2)); // Log della risposta in modo leggibile
// Accumulo dei valori globali
totalRigsCount += data.totalRigs;
totalDevicesCount += data.totalDevices;
Expand Down

0 comments on commit b8dde9c

Please sign in to comment.