mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	confirmation: Use the correct type hints for create_confirmation_link.
Previously we annotate the first argument as `ContentType`, which is wrong as suggested by django-stubs.
This commit is contained in:
		@@ -112,7 +112,7 @@ def create_preregistration_user(
 | 
			
		||||
    password_required: bool = True,
 | 
			
		||||
    full_name: Optional[str] = None,
 | 
			
		||||
    full_name_validated: bool = False,
 | 
			
		||||
) -> HttpResponse:
 | 
			
		||||
) -> PreregistrationUser:
 | 
			
		||||
    realm = None
 | 
			
		||||
    if not realm_creation:
 | 
			
		||||
        try:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user