Skip to content

Commit 646d238

Browse files
committed
Fix speaker avatar
1 parent 4010abe commit 646d238

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/models/pretalx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class PretalxSpeaker(BaseModel):
4545
code: str
4646
name: str
4747
biography: str | None = None
48-
avatar: str
48+
avatar_url: str
4949
submissions: list[str]
5050
answers: list[PretalxAnswer]
5151

src/utils/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def pretalx_speakers_to_europython_speakers(
8383
code=speaker.code,
8484
name=speaker.name,
8585
biography=speaker.biography,
86-
avatar=speaker.avatar,
86+
avatar=speaker.avatar_url,
8787
slug=speaker_code_to_slug[speaker.code],
8888
answers=speaker.answers,
8989
submissions=speaker.submissions,

0 commit comments

Comments
 (0)