From 74f83eb03ded6e6f56e149920a167aa1632c7c58 Mon Sep 17 00:00:00 2001 From: Thunder Date: Mon, 16 Oct 2023 17:38:02 +0300 Subject: [PATCH] Changed wrong return type in requestNodes function. (#1224) --- packages/playground/src/explorer/utils/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playground/src/explorer/utils/helpers.ts b/packages/playground/src/explorer/utils/helpers.ts index ea47ddca0a..6bdb41ea27 100644 --- a/packages/playground/src/explorer/utils/helpers.ts +++ b/packages/playground/src/explorer/utils/helpers.ts @@ -60,7 +60,7 @@ export async function requestNodes( ): Promise> { try { const nodes: Pagination = await gridProxyClient.nodes.list(options, config); - return JSON.parse(JSON.stringify(nodes)); + return nodes; } catch (error) { console.error("An error occurred while requesting nodes:", error); throw error;