From 8a1a7d9e1313b003dd45706b1edb383294ba3d44 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 17 Nov 2022 11:03:55 +0800 Subject: [PATCH] fix: remove unused serializer_class --- apps/terminal/api/component/endpoint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/terminal/api/component/endpoint.py b/apps/terminal/api/component/endpoint.py index c81cbc1c3..8f770d75f 100644 --- a/apps/terminal/api/component/endpoint.py +++ b/apps/terminal/api/component/endpoint.py @@ -102,7 +102,8 @@ class EndpointRuleViewSet(JMSBulkModelViewSet): class ConnectMethodListApi(ListAPIView): permission_classes = (IsValidUser,) - serializer_class = serializers.ProtocolConnectMethodsSerializer + + # serializer_class = serializers.ProtocolConnectMethodsSerializer def get_queryset(self): protocol = self.request.query_params.get('protocol')