Skip to content

Commit

Permalink
pull tx status script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Oct 27, 2020
1 parent ecf6e1b commit 710bbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/kudos/management/commands/pull_tx_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Command(BaseCommand):
help = 'pulls tx statuses and stores them in the DB to be queried later'

def handle(self, *args, **options):
earnings = Earning.objects.filter(history__pk__isnull=True).order_by('-pk')
earnings = Earning.objects.all().order_by('-pk')
for earning in earnings:
if earning.history.count():
continue
Expand Down

0 comments on commit 710bbb7

Please sign in to comment.