diff --git a/hosting/management/commands/fetch_stripe_bills.py b/hosting/management/commands/fetch_stripe_bills.py index 2baaa921..09cb3295 100644 --- a/hosting/management/commands/fetch_stripe_bills.py +++ b/hosting/management/commands/fetch_stripe_bills.py @@ -31,7 +31,7 @@ class Command(BaseCommand): # fetch only invoices which is created after # mhb.created, because we already have invoices till # this date - created_gt = {'created': {'gt': int(mhb.created.timestamp())}} + created_gt = int(mhb.created.timestamp()) all_invoices_response = stripe_utils.get_all_invoices( user.stripecustomer.stripe_id,