fix: remove unused serializer_class

pull/9094/head
Eric 2022-11-17 11:03:55 +08:00
parent 12816d49f6
commit 8a1a7d9e13
1 changed files with 2 additions and 1 deletions

View File

@ -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')