Skip to content

Commit

Permalink
feat: update how the ownership check is done to the marketplace subgr…
Browse files Browse the repository at this point in the history
…aph (#6256)
  • Loading branch information
juanmahidalgo authored Nov 6, 2024
1 parent de0457e commit 6f68798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser-interface/packages/lib/web3/fetchOwnedENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type GraphResponse = {
export async function fetchOwnedENS(theGraphBaseUrl: string, ethAddress: string): Promise<string[]> {
const query = `
query GetNameByBeneficiary($beneficiary: String) {
nfts(where: { owner: $beneficiary, category: ens }) {
nfts(where: { owner_: {address: $beneficiary}, category: ens }) {
ens {
labelHash
beneficiary
Expand Down

0 comments on commit 6f68798

Please sign in to comment.