From 080e5d2adf99125a985adbc114de9510922ae445 Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 8 Feb 2024 14:02:45 +0900 Subject: [PATCH] fix: update based on feedback --- cli/src/vrf.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/vrf.ts b/cli/src/vrf.ts index e833c2aa1..c048edac3 100644 --- a/cli/src/vrf.ts +++ b/cli/src/vrf.ts @@ -78,7 +78,7 @@ export function listHandler(print?: boolean) { try { if (!chain) { - const result = (await axios.get(VRF_ENDPOINT)).data + const result = (await axios.get(VRF_ENDPOINT))?.data if (print) { console.dir(result, { depth: null }) }