From 32db08bd7a77f7914350201c38a74fc995cc303d Mon Sep 17 00:00:00 2001 From: Mike0001-droid Date: Tue, 25 Jun 2024 13:25:42 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=BC=D0=B8=D1=88=D0=B5=D0=BD=D1=8B=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20nowplaying?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/proj/audio/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proj/audio/views.py b/server/proj/audio/views.py index a156037..2022710 100644 --- a/server/proj/audio/views.py +++ b/server/proj/audio/views.py @@ -243,7 +243,7 @@ class SongViewSet(GenericViewSet): data.append(i) return Response(data, status=status.HTTP_200_OK) - @action(detail=False, methods=['get']) + @action(detail=False, methods=['get'], permission_classes=(AllowAny,)) def get_nowplaying(self, request): file_url = F"{AZURACAST_URL}api/nowplaying/it-radio" API_KEY = AZURACAST_API_KEY