Skip to content

Commit bd06d82

Browse files
authored
Merge pull request #3901 from IntersectMBO/fix/network-metrics
Hotfix: De-duplicate rows in get-network-metrics sql
2 parents 3536c6f + 4982aaf commit bd06d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/backend/sql/get-network-metrics.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ CommitteeThreshold AS (
189189
where
190190
( c.gov_action_proposal_id = (Select id from LatestGovAction))
191191
OR ( c.gov_action_proposal_id IS NULL)
192-
order by gov_action_proposal_id nulls last
192+
order by gov_action_proposal_id nulls last limit 1
193193
)
194194
SELECT
195195
UniqueDelegators.count AS unique_delegators,

0 commit comments

Comments
 (0)