Skip to content

Commit

Permalink
fix: cdswebsites pages removed schema for internal apis
Browse files Browse the repository at this point in the history
  • Loading branch information
revelis-vincenzo committed Sep 10, 2024
1 parent f34b263 commit c0e354d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crud/cds_websites_pages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@ class SitoWebCdsOggettiPortaleViewSet(ReadOnlyModelViewSet):
serializer_class = SitoWebCdsOggettiPortaleSerializer
authentication_classes = [SessionAuthentication]
permission_classes = [IsAuthenticated]
schema = None

def get_queryset(self):
if self.action != 'list':
Expand All @@ -827,6 +828,7 @@ class ExternalOggettiPortaleViewSet(GenericViewSet):

authentication_classes = [SessionAuthentication]
permission_classes = [IsAuthenticated]
schema = None


def list(self, request):
Expand Down

0 comments on commit c0e354d

Please sign in to comment.