fix - bug of quota with org context in distribution serializer
This commit is contained in:
@@ -459,7 +459,7 @@ class QuotaViewSet(BaseViewSet, SoftDeleteMixin, viewsets.ModelViewSet, DynamicS
|
||||
)
|
||||
if page is not None:
|
||||
serializer = quota_distribution_serializers.QuotaDistributionSerializer(
|
||||
page, many=True
|
||||
page, many=True, context={'org': my_org}
|
||||
)
|
||||
return self.get_paginated_response(serializer.data)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user