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

fix: use schedule.show to refer to the show

parent de58e387
No related branches found
No related tags found
No related merge requests found
...@@ -174,8 +174,8 @@ class APIDayScheduleViewSet( ...@@ -174,8 +174,8 @@ class APIDayScheduleViewSet(
entry = { entry = {
"start": ts.start.strftime("%Y-%m-%d_%H:%M:%S"), "start": ts.start.strftime("%Y-%m-%d_%H:%M:%S"),
"end": ts.end.strftime("%Y-%m-%d_%H:%M:%S"), "end": ts.end.strftime("%Y-%m-%d_%H:%M:%S"),
"title": ts.show.name, "title": ts.schedule.show.name,
"id": ts.show.id, "id": ts.schedule.show.id,
} }
schedule.append(entry) schedule.append(entry)
......
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