Add speaker bio to JSON API

This commit is contained in:
Joel Addison 2021-12-06 23:42:32 +10:00
parent 72b5c3ff55
commit ff281c17ee

View file

@ -224,6 +224,7 @@ def make_speaker_dict(user, speaker):
'contact': speaker.email if has_contact_perm(user) else 'redacted', 'contact': speaker.email if has_contact_perm(user) else 'redacted',
'picture_url': speaker_photo(None, speaker, 120), 'picture_url': speaker_photo(None, speaker, 120),
'code': speaker.code, 'code': speaker.code,
'biography': speaker.biography,
} }
def schedule_json(request): def schedule_json(request):