Skip to content

Commit 4982aaf

Browse files
committed
Fix Duplicate row in get-network-metrics query
1 parent 3536c6f commit 4982aaf

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)