Fix speaker username in schedule JSON
This commit is contained in:
		
							parent
							
								
									457a79730d
								
							
						
					
					
						commit
						f958b3a7a7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								vendor/symposion/schedule/views.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/symposion/schedule/views.py
									
										
									
									
										vendored
									
									
								
							|  | @ -225,7 +225,7 @@ def make_speaker_dict(speaker, can_view_contact_details): | |||
|         'picture_url': speaker_photo(None, speaker, 120), | ||||
|         'code': speaker.code, | ||||
|         'biography': speaker.biography, | ||||
|         'username': speaker.user_id if can_view_contact_details else '', | ||||
|         'username': speaker.user.username if can_view_contact_details else '', | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joel Addison
						Joel Addison