From 5a19294e69b3a893b5ca3c83099ed8035fc75122 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 4 Apr 2024 14:07:24 +0530 Subject: [PATCH] fix(app): config --- src/features/ipfs/Drive/AutzKeys.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/ipfs/Drive/AutzKeys.tsx b/src/features/ipfs/Drive/AutzKeys.tsx index db84df8e7..1b8de70b4 100644 --- a/src/features/ipfs/Drive/AutzKeys.tsx +++ b/src/features/ipfs/Drive/AutzKeys.tsx @@ -12,7 +12,7 @@ import { useSigningClient, } from 'src/contexts/signerClient'; -import { CYBER } from 'src/utils/config'; +import { LCD_URL } from 'src/constants/config'; import { NeuronAddress } from 'src/types/base'; import { selectCurrentAddress } from 'src/redux/features/pocket'; import { GenericAuthorization } from 'cosmjs-types/cosmos/authz/v1beta1/authz'; @@ -37,21 +37,21 @@ https://lcd.bostrom.cybernode.ai/cosmos/authz/v1beta1/grants?granter=bostrom1p0r const getGranters = async (address: NeuronAddress) => { return axios({ method: 'get', - url: `${CYBER.CYBER_NODE_URL_LCD}/cosmos/authz/v1beta1/grants/grantee/${address}`, + url: `${LCD_URL}/cosmos/authz/v1beta1/grants/grantee/${address}`, }); }; const getGrantees = async (address: NeuronAddress) => { return axios({ method: 'get', - url: `${CYBER.CYBER_NODE_URL_LCD}/cosmos/authz/v1beta1/grants/granter/${address}`, + url: `${LCD_URL}/cosmos/authz/v1beta1/grants/granter/${address}`, }); }; const getGrants = async (granter: NeuronAddress, grantee: NeuronAddress) => { return axios({ method: 'get', - url: `${CYBER.CYBER_NODE_URL_LCD}/cosmos/authz/v1beta1/grants?granter=${granter}&grantee=${grantee}`, + url: `${LCD_URL}/cosmos/authz/v1beta1/grants?granter=${granter}&grantee=${grantee}`, }); };