Skip to content

Commit

Permalink
fix typo in account stats job
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed May 6, 2024
1 parent 04a4619 commit 02f6157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer_app/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def update_account_statistics():
account.total_matching_pool_allocations_usd = (
PotPayout.objects.filter(
recipient=account, paid_at__isnull=False
).aggregate(Sum("amount_usd"))["amount_usd__sum"]
).aggregate(Sum("amount_paid_usd"))["amount_paid_usd__sum"]
or 0
)

Expand Down

0 comments on commit 02f6157

Please sign in to comment.