Skip to content

Commit

Permalink
removed client config end points from swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Feb 5, 2021
1 parent 67d7b6d commit a4f95a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/orgs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,13 @@ def destroy(self, request, *args, **kwargs):
return Response({'detail': DELETE_ACCEPTED}, status=status.HTTP_202_ACCEPTED)


class OrganizationClientConfigsView(OrganizationBaseView):
class OrganizationClientConfigsView(BaseAPIView, RetrieveAPIView):
lookup_field = 'org'
model = Organization
queryset = Organization.objects.filter(is_active=True)
serializer_class = ClientConfigSerializer
permission_classes = (CanViewConceptDictionary, )
swagger_schema = None

def get(self, request, *args, **kwargs):
instance = self.get_object()
Expand Down

0 comments on commit a4f95a7

Please sign in to comment.