diff --git a/backend/api/views.py b/backend/api/views.py index 9e91f6e..5ef87b6 100644 --- a/backend/api/views.py +++ b/backend/api/views.py @@ -179,6 +179,8 @@ class RegisterFile(APIView): class FileFilterView(APIView): + authentication_classes = [TokenAuthentication] + permission_classes = [IsAuthenticated] def get(self, request, format=None): try: # Extract filters from the query parameters