From 0b1d31f7f860b6292a67b22d9546838a8859c30c Mon Sep 17 00:00:00 2001 From: BoThe1K <121880388+BoThe1K@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:27:33 +0100 Subject: [PATCH] qb-2441: Fix metrics handling --- .../src/screens/home/components/tokenomics/queries.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web-stratos/src/screens/home/components/tokenomics/queries.ts b/apps/web-stratos/src/screens/home/components/tokenomics/queries.ts index aa275ee9d5..d47ee470be 100644 --- a/apps/web-stratos/src/screens/home/components/tokenomics/queries.ts +++ b/apps/web-stratos/src/screens/home/components/tokenomics/queries.ts @@ -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; };