From f786814c1feeeb2e3c8dcb3734d74d86f0ebb329 Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Fri, 25 Feb 2022 15:15:22 +0000 Subject: [PATCH] The Type is called name --- program/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/views.py b/program/views.py index 9de565b9..2e695ec2 100644 --- a/program/views.py +++ b/program/views.py @@ -119,7 +119,7 @@ def json_playout(request): 'show_id': ts.show.id, 'show_name': ts.show.name + is_repetition, 'show_hosts': hosts, - 'show_type': type_.type, + 'show_type': type_.name, 'show_categories': categories, 'show_topics': topics, # TODO: replace `show_musicfocus` with `show_music_focus` when engine is updated -- GitLab