From 6f687984155c9f25dbd7cad2e9ec82b40f929d7d Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Wed, 6 Nov 2024 18:05:40 +0100 Subject: [PATCH] feat: update how the ownership check is done to the marketplace subgraph (#6256) --- browser-interface/packages/lib/web3/fetchOwnedENS.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-interface/packages/lib/web3/fetchOwnedENS.ts b/browser-interface/packages/lib/web3/fetchOwnedENS.ts index 8b2c539cb0..35d44e6558 100644 --- a/browser-interface/packages/lib/web3/fetchOwnedENS.ts +++ b/browser-interface/packages/lib/web3/fetchOwnedENS.ts @@ -11,7 +11,7 @@ export type GraphResponse = { export async function fetchOwnedENS(theGraphBaseUrl: string, ethAddress: string): Promise { const query = ` query GetNameByBeneficiary($beneficiary: String) { - nfts(where: { owner: $beneficiary, category: ens }) { + nfts(where: { owner_: {address: $beneficiary}, category: ens }) { ens { labelHash beneficiary