diff --git a/sponsor/viewsets.py b/sponsor/viewsets.py index 2e56066..b272b4b 100644 --- a/sponsor/viewsets.py +++ b/sponsor/viewsets.py @@ -53,7 +53,9 @@ def get_serializer_class(self): @action(detail=False, methods=["GET"], url_path="with-sponsor") def list_with_levels(self, request, version): - serializer = self.get_serializer(self.get_queryset(), many=True) + serializer = self.get_serializer( + self.get_queryset().filter(sponsor__paid_at__isnull=False), many=True + ) return Response(serializer.data) @action(detail=False, methods=["POST"])