Skip to content

Commit

Permalink
add return when pillar is not None
Browse files Browse the repository at this point in the history
  • Loading branch information
sudan45 committed Nov 19, 2024
1 parent f1fa1aa commit 2ed3854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/analysis/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2ed3854

Please sign in to comment.