Fix datetime issue: pass unix timestamp instead of datetime
This commit is contained in:
		
					parent
					
						
							
								a690ef421f
							
						
					
				
			
			
				commit
				
					
						cc6afa8d2a
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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': mhb.created} | ||||
|                         created_gt = {'gt': mhb.created.timestamp()} | ||||
| 
 | ||||
|                     all_invoices_response = stripe_utils.get_all_invoices( | ||||
|                         user.stripecustomer.stripe_id, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue