From c80752a21d1d7982486af60c0e25a5f3a03b65e8 Mon Sep 17 00:00:00 2001 From: dekzter Date: Fri, 22 Aug 2025 17:36:57 -0400 Subject: [PATCH] attempting to fix updated reference name --- apps/m3u/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/m3u/tasks.py b/apps/m3u/tasks.py index 01c62902..441c45ff 100644 --- a/apps/m3u/tasks.py +++ b/apps/m3u/tasks.py @@ -1754,8 +1754,8 @@ def refresh_single_m3u_account(account_id): existing_groups = { group.name: group.id for group in ChannelGroup.objects.filter( - m3u_account__m3u_account=account, # Filter by the M3UAccount - m3u_account__enabled=True, # Filter by the enabled flag in the join table + m3u_accounts__m3u_account=account, # Filter by the M3UAccount + m3u_accounts__enabled=True, # Filter by the enabled flag in the join table ) }