fixing m3u file upload

This commit is contained in:
dekzter 2025-04-07 18:12:40 -04:00
parent 23c65a2f03
commit ee4e227e02

View file

@ -18,7 +18,7 @@ class LogoSerializer(serializers.ModelSerializer):
# return f"/api/channels/logos/{obj.id}/cache/"
request = self.context.get('request')
if request:
return request.build_absolute_uri(reverse('api:channels:logo-cache', args=[obj.id])) # Use 'logo-cache'
return request.build_absolute_uri(reverse('api:channels:logo-cache', args=[obj.id]))
return reverse('api:channels:logo-cache', args=[obj.id])
#