From aa17f9dbdb99dcc7cf964da8b2aa21678e911f5f Mon Sep 17 00:00:00 2001 From: Hojat Shafiee Date: Wed, 28 May 2025 14:14:26 +0330 Subject: [PATCH] add member --- core/views/userView.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/views/userView.py b/core/views/userView.py index a4c5a1f..5d9e7c8 100644 --- a/core/views/userView.py +++ b/core/views/userView.py @@ -1038,10 +1038,7 @@ def addSubscription(request): - -@api_view(['POST']) -@authentication_classes([SessionAuthentication, TokenAuthentication]) -@permission_classes([IsAuthenticated]) + @api_view(['POST']) @authentication_classes([SessionAuthentication, TokenAuthentication]) @permission_classes([IsAuthenticated])