Skip to content
Snippets Groups Projects
Verified Commit f4e2a541 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: allow timeslot to be null in the playout serializer

parent 540e49e1
No related branches found
No related tags found
No related merge requests found
......@@ -1313,7 +1313,7 @@ class PlayoutProgramEntrySerializer(BasicProgramEntrySerializer):
model = Note
fields = ["id", "title"]
timeslot = TimeSlotSerializer()
timeslot = TimeSlotSerializer(allow_null=True)
show = PlayoutShowSerializer()
episode = PlayoutEpisodeSerializer(allow_null=True, source="timeslot.note")
schedule = PlayoutScheduleSerializer(allow_null=True, source="timeslot.schedule")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment