From 4bf8b1bb123021a39f2fdf35d12eb75984fa90d7 Mon Sep 17 00:00:00 2001 From: "ftNikhil.eth" <32412967+nikhilverma360@users.noreply.github.com> Date: Thu, 2 Nov 2023 01:08:29 +0530 Subject: [PATCH] Update Readme.md fix frontend return object name --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 480aeca..3ee0c56 100644 --- a/Readme.md +++ b/Readme.md @@ -252,7 +252,7 @@ To start using follow these steps: const getNames = async () => { const { data } = await client.query(query).toPromise(); console.log(data); - setNames(data.names); + setNames(data.changeNameEvents); } getNames(); }, [])