Skip to content
Snippets Groups Projects
Commit 6208f8f0 authored by Lucas Brandstaetter's avatar Lucas Brandstaetter
Browse files

Fix media url for event logo

parent a2a3a65e
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ class ScheduleEncoder(json.JSONEncoder): ...@@ -168,7 +168,7 @@ class ScheduleEncoder(json.JSONEncoder):
return { return {
**event_template, **event_template,
'id': legacy_id, 'id': legacy_id,
'logo': event.banner_image.url if event.banner_image and event.banner_image.url else None, 'logo': settings.PLAINUI_BASE_URL + event.banner_image.url if event.banner_image and event.banner_image.url else None,
**additional_data, **additional_data,
# ATTENTION: if the description also exists in additional_data it is overwritten # ATTENTION: if the description also exists in additional_data it is overwritten
'abstract': event.abstract, 'abstract': event.abstract,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment