diff --git a/src/stores/charts.js b/src/stores/charts.js index 22d80ce05..e032a6cb7 100644 --- a/src/stores/charts.js +++ b/src/stores/charts.js @@ -33,8 +33,7 @@ export const useChartsStore = defineStore('charts', () => { ? `?min_start_date=${customInterval.minStart}&max_start_date=${customInterval.maxStart}&limit=1000` : `?interval_by=${interval}&limit=${parseInt(limit) + 1}` - const { data } = await axios.get(`${MIDDLEWARE_URL}/v3/statistics/blocks${intervalSlug}`) - + const { data } = await axios.get(`${MIDDLEWARE_URL}/v3/statistics/blocks${intervalSlug}&type=key`) // remove last interval from the response not to show current interval that is being built keyblocksStatistics.value = customInterval ? data.data.reverse() : data.data.slice(1).reverse() }