From 8d340a49d39268aa879270cd5b60c0e2f08a5deb Mon Sep 17 00:00:00 2001 From: Yana Date: Wed, 16 Apr 2025 09:57:27 +0300 Subject: [PATCH] fix data fetching --- explorer-v2/src/app/api/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/explorer-v2/src/app/api/index.tsx b/explorer-v2/src/app/api/index.tsx index 621d51554b..6732143e6d 100644 --- a/explorer-v2/src/app/api/index.tsx +++ b/explorer-v2/src/app/api/index.tsx @@ -257,13 +257,13 @@ export const fetchNSApiNodes = async (): Promise => { while (hasMoreData) { const response = await fetch( - `${NS_API_NODES}?page=${page}&limit=${PAGE_SIZE}`, + `${NS_API_NODES}?page=${page}&size=${PAGE_SIZE}`, { headers: { Accept: "application/json", "Content-Type": "application/json; charset=utf-8", }, - }, + } ); if (!response.ok) {