Fix passing correct created value
This commit is contained in:
parent
869f74e4e6
commit
77669c962c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Command(BaseCommand):
|
||||||
# fetch only invoices which is created after
|
# fetch only invoices which is created after
|
||||||
# mhb.created, because we already have invoices till
|
# mhb.created, because we already have invoices till
|
||||||
# this date
|
# this date
|
||||||
created_gt = {'created': {'gt': int(mhb.created.timestamp())}}
|
created_gt = int(mhb.created.timestamp())
|
||||||
|
|
||||||
all_invoices_response = stripe_utils.get_all_invoices(
|
all_invoices_response = stripe_utils.get_all_invoices(
|
||||||
user.stripecustomer.stripe_id,
|
user.stripecustomer.stripe_id,
|
||||||
|
|
Loading…
Reference in a new issue