From bd67e701ccf128ac7743b736b21a49ff9321d04c Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Wed, 23 Oct 2024 14:16:36 +0200 Subject: [PATCH] feat: change the owner filter to check by address instead of id (#326) --- src/validations/access/subgraph/scenes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validations/access/subgraph/scenes.ts b/src/validations/access/subgraph/scenes.ts index 31902fd4..e4dc6096 100644 --- a/src/validations/access/subgraph/scenes.ts +++ b/src/validations/access/subgraph/scenes.ts @@ -67,7 +67,7 @@ export function createSceneValidateFn({ query GetAuthorizations($owner: String!, $operator: String!, $timestamp: Int!, $tokenAddress: String!) { authorizations( where: { - owner: $owner, + owner_: {address: $owner}, operator: $operator, createdAt_lte: $timestamp, tokenAddress: $tokenAddress