diff --git a/apps/analysis/serializers.py b/apps/analysis/serializers.py index 242b0db6d8..520f260601 100644 --- a/apps/analysis/serializers.py +++ b/apps/analysis/serializers.py @@ -457,8 +457,8 @@ def create_or_update_pillar(self, pillar_data, instance): data=data, context=self.context ) + return analysis_pillar_serializer analysis_pillar_serializer = AnalysisPillarGqlSerializer(data=data, context=self.context) - return analysis_pillar_serializer def update(self, instance, validated_data):