Attempt correction to gt dict to be passed for created greater than

This commit is contained in:
PCoder 2019-04-13 14:34:17 +02:00
parent 94c7873397
commit 4a01036ab5

View file

@ -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 = {'gt': int(mhb.created.timestamp())}
created_gt = {'created': {'gt': int(mhb.created.timestamp())}}
all_invoices_response = stripe_utils.get_all_invoices(
user.stripecustomer.stripe_id,