diff --git a/src/objects/api/serializers.py b/src/objects/api/serializers.py index b8ee053c..4e7cc4b4 100644 --- a/src/objects/api/serializers.py +++ b/src/objects/api/serializers.py @@ -132,9 +132,7 @@ def update(self, instance, validated_data): validated_data["version"] = instance.version if self.partial and "data" in validated_data: # Apply JSON Merge Patch for record data - validated_data["data"] = merge_patch( - instance.data, validated_data["data"] - ) + validated_data["data"] = merge_patch(instance.data, validated_data["data"]) record = super().create(validated_data) return record