mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Fixed wrong field name for channel query
This commit is contained in:
parent
673df57a60
commit
0355ae0c1b
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ def stream_view(request, stream_id):
|
|||
"""
|
||||
try:
|
||||
# Retrieve the channel by the provided stream_id.
|
||||
channel = Channel.objects.get(id=stream_id)
|
||||
channel = Channel.objects.get(channel_number=stream_id)
|
||||
logger.debug("Channel retrieved: ID=%s, Name=%s", channel.id, channel.channel_name)
|
||||
|
||||
# Ensure the channel has at least one stream.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue