From e1da8ecf2f6d52cad8a6a30b096b2ad8a51282b2 Mon Sep 17 00:00:00 2001 From: Ruben Marcus Date: Fri, 16 Feb 2024 10:53:52 +0000 Subject: [PATCH] fix attributes by contract (#476) --- .../data/src/api/attributesByContract/attributesByContract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/data/src/api/attributesByContract/attributesByContract.ts b/packages/data/src/api/attributesByContract/attributesByContract.ts index b25dcf79..5b1480fb 100644 --- a/packages/data/src/api/attributesByContract/attributesByContract.ts +++ b/packages/data/src/api/attributesByContract/attributesByContract.ts @@ -12,7 +12,7 @@ export const attributesByContract = async ( let data; let error: string; - const networkFinal = network ?? mbjs.keys.network; + const networkFinal = network || mbjs.keys.network; const useHost = networkFinal === 'testnet' ? META_SERVICE_HOST_TESTNET