diff --git a/apps/deploy-web/src/queries/useBalancesQuery.ts b/apps/deploy-web/src/queries/useBalancesQuery.ts index e61d048d9..7e99a5d1e 100644 --- a/apps/deploy-web/src/queries/useBalancesQuery.ts +++ b/apps/deploy-web/src/queries/useBalancesQuery.ts @@ -17,10 +17,11 @@ async function getBalances(apiEndpoint: string, address?: string): Promise(ApiUrlService.balance(apiEndpoint, address)); - const authzBalancePromise = axios.get(ApiUrlService.granteeGrants(apiEndpoint, address)); + // const authzBalancePromise = axios.get(ApiUrlService.granteeGrants(apiEndpoint, address)); const activeDeploymentsPromise = loadWithPagination(ApiUrlService.deploymentList(apiEndpoint, address, true), "deployments", 1000); - const [balanceResponse, authzBalanceResponse, activeDeploymentsResponse] = await Promise.all([balancePromise, authzBalancePromise, activeDeploymentsPromise]); + const [balanceResponse, activeDeploymentsResponse] = await Promise.all([balancePromise, activeDeploymentsPromise]); + const authzBalanceResponse: { data: RestApiAuthzGrantsResponseType } = { data: { grants: [] } as unknown as RestApiAuthzGrantsResponseType }; // Authz Grants const deploymentGrants = authzBalanceResponse.data.grants.filter(