From 70290a421a5724c4d8a921eb8da577724a66ce16 Mon Sep 17 00:00:00 2001 From: dfkadyr Date: Wed, 9 Oct 2024 08:46:20 +0300 Subject: [PATCH] add filter to shareHolders --- .../subgraph/rewardSplitters/rewardSplittersQuery.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphql/subgraph/rewardSplitters/rewardSplittersQuery.graphql b/src/graphql/subgraph/rewardSplitters/rewardSplittersQuery.graphql index 35aade8c..d7d1324d 100644 --- a/src/graphql/subgraph/rewardSplitters/rewardSplittersQuery.graphql +++ b/src/graphql/subgraph/rewardSplitters/rewardSplittersQuery.graphql @@ -3,7 +3,7 @@ query RewardSplitters($where: RewardSplitter_filter) { id owner totalShares - shareHolders(orderBy: shares, orderDirection: desc) { + shareHolders(orderBy: shares, orderDirection: desc, where: { shares_gt: 0 }) { id shares address