Skip to content
Snippets Groups Projects
Commit a87909b8 authored by Andreas Hubel's avatar Andreas Hubel
Browse files

schedules: assume public as default

parent 3abb417a
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,7 @@ class ScheduleJSONSupport(BaseScheduleSupport):
"room": e.get('room'),
"schedule_start": e.get('date'),
"schedule_duration": str(schedulexml_time_to_timedelta(e.get('duration'))),
"public": True,
"additional_data": filter_additional_data(e)
} for e in schedule.events()
}
......
......@@ -57,6 +57,7 @@ class ScheduleXMLSupport(BaseScheduleSupport):
"room": e.get('room'),
"schedule_start": e.get('date'),
"schedule_duration": str(schedulexml_time_to_timedelta(e.get('duration'))),
"public": True,
"additional_data": filter_additional_data(e)
} for e in schedule.events()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment