From 31ba3c934c04bd50850247ca0630e1d474198460 Mon Sep 17 00:00:00 2001 From: jipstavenuiter Date: Wed, 12 Jun 2024 16:28:18 +0200 Subject: [PATCH 1/2] (bugfix): fix fractions by hypercert claim param --- sdk/src/indexer/queries/fractions.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/indexer/queries/fractions.graphql b/sdk/src/indexer/queries/fractions.graphql index 72bd746a..2fc980bc 100644 --- a/sdk/src/indexer/queries/fractions.graphql +++ b/sdk/src/indexer/queries/fractions.graphql @@ -19,7 +19,7 @@ query FractionsByHypercert( ) { hypercerts( count: COUNT - where: { owner_address: { eq: $hypercertId } } + where: { hypercert_id: { eq: $hypercertId } } first: $first offset: $offset sort: { by: { hypercert_id: $orderDirection } } From 9a7ceb5819beb602a266ffca97c36c7dd1de87f7 Mon Sep 17 00:00:00 2001 From: jipstavenuiter Date: Wed, 12 Jun 2024 16:32:05 +0200 Subject: [PATCH 2/2] (bugfix): fix graphql typing errors --- sdk/src/indexer/queries/fractions.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/indexer/queries/fractions.graphql b/sdk/src/indexer/queries/fractions.graphql index 2fc980bc..658aca68 100644 --- a/sdk/src/indexer/queries/fractions.graphql +++ b/sdk/src/indexer/queries/fractions.graphql @@ -43,7 +43,7 @@ query FractionsByHypercert( } } -query FractionById($fractionId: ID!) { +query FractionById($fractionId: String!) { fractions(where: { hypercert_id: { eq: $fractionId } }) { data { creation_block_timestamp