Fetch invoices whose date is greater than given date only

This commit is contained in:
PCoder 2019-04-13 12:54:57 +02:00
commit 061ef7d036
2 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ class Command(BaseCommand):
all_invoices_response = stripe_utils.get_all_invoices(
user.stripecustomer.stripe_id,
created=created_gt
created_gt=created_gt
)
if all_invoices_response['error'] is not None:
self.stdout.write(self.style.ERROR(all_invoices_response['error']))