mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	user_events: Extract user_update_schema.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							b1be32b1ee
						
					
				
				
					commit
					4da6db9af8
				
			@@ -1664,7 +1664,7 @@ export function set_full_name(person_obj: User, new_full_name: string): void {
 | 
			
		||||
 | 
			
		||||
export function set_custom_profile_field_data(
 | 
			
		||||
    user_id: number,
 | 
			
		||||
    field: {id: number; value: string | null; rendered_value?: string},
 | 
			
		||||
    field: {id: number; value: string | null; rendered_value?: string | undefined},
 | 
			
		||||
): void {
 | 
			
		||||
    if (field.id === undefined) {
 | 
			
		||||
        blueslip.error("Trying to set undefined field id");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user