Skip to content

Commit

Permalink
fix(api): fixed num_rounds calculation (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianHymer authored Jul 19, 2023
1 parent da284cf commit 86e856b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cgrants/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def contributor_statistics(request):
profile__handle=handle, round_num__isnull=False
)
.order_by("round_num")
.values("grant_id")
.values("round_num")
.distinct()
.count()
)
Expand Down

0 comments on commit 86e856b

Please sign in to comment.