diff --git a/apps/channels/api_views.py b/apps/channels/api_views.py index 2d98188d..2051dd4c 100644 --- a/apps/channels/api_views.py +++ b/apps/channels/api_views.py @@ -349,7 +349,7 @@ class ChannelViewSet(viewsets.ModelViewSet): # Attempt to find existing EPGs with the same tvg-id epgs = EPGData.objects.filter(tvg_id=stream.tvg_id) if epgs: - channel_data["epg_data"] = epgs.first() + channel_data["epg_data_id"] = epgs.first().id serializer = self.get_serializer(data=channel_data) if serializer.is_valid(): diff --git a/frontend/index.html b/frontend/index.html index de12df40..6d85529c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,7 +2,7 @@
- +