fix organization limit quota seialize
This commit is contained in:
@@ -40,6 +40,11 @@ class QuotaSerializer(serializers.ModelSerializer):
|
||||
many=True
|
||||
).data
|
||||
|
||||
representation['limit_by_organizations'] = OrganizationSerializer(
|
||||
instance.limit_by_organizations.all(),
|
||||
many=True
|
||||
).data
|
||||
|
||||
return representation
|
||||
|
||||
def update(self, instance, validated_data):
|
||||
|
||||
Reference in New Issue
Block a user