mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	stripe: Use comma for collection method Literal values.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							0c13422c0d
						
					
				
				
					commit
					1969698cf6
				
			@@ -914,7 +914,7 @@ class BillingSession(ABC):
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        if charge_automatically:
 | 
			
		||||
            collection_method: Literal["charge_automatically" | "send_invoice"] = (
 | 
			
		||||
            collection_method: Literal["charge_automatically", "send_invoice"] = (
 | 
			
		||||
                "charge_automatically"
 | 
			
		||||
            )
 | 
			
		||||
        else:
 | 
			
		||||
@@ -3131,7 +3131,7 @@ class BillingSession(ABC):
 | 
			
		||||
                    )
 | 
			
		||||
 | 
			
		||||
                if plan.charge_automatically:
 | 
			
		||||
                    collection_method: Literal["charge_automatically" | "send_invoice"] = (
 | 
			
		||||
                    collection_method: Literal["charge_automatically", "send_invoice"] = (
 | 
			
		||||
                        "charge_automatically"
 | 
			
		||||
                    )
 | 
			
		||||
                    days_until_due = None
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user