From 848e0caccbf9d88d9e513b0dee92f1def80ce9f2 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Wed, 2 Jul 2025 15:46:05 +0330 Subject: [PATCH] change product list get --- apps/product/web/api/v1/product_api.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/product/web/api/v1/product_api.py b/apps/product/web/api/v1/product_api.py index d599d06..ebccd00 100644 --- a/apps/product/web/api/v1/product_api.py +++ b/apps/product/web/api/v1/product_api.py @@ -67,10 +67,6 @@ class ProductViewSet(viewsets.ModelViewSet): queryset = product_models.Product.objects.all() serializer_class = product_serializers.ProductSerializer - def list(self, request, *args, **kwargs): - product = self.queryset.get(id=1) - return Response(product.quota_information(), status.HTTP_200_OK) - @action( methods=['put'], detail=True,