Skip to content

Commit

Permalink
qb-2441: Fix metrics handling
Browse files Browse the repository at this point in the history
  • Loading branch information
BoThe1K committed Feb 20, 2024
1 parent 75b7999 commit 0b1d31f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import chainConfig from '@/chainConfig';
const { endpoints } = chainConfig();

export const getMetrics = async () => {
const result = await axios.get(`${endpoints.rest}/pot/metrics`);
return result.data.result;
const result = await axios.get(`${endpoints.rest}/stratos/pot/v1/metrics`);
return result.data.metrics;
};

0 comments on commit 0b1d31f

Please sign in to comment.