We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04db724 commit e7945d1Copy full SHA for e7945d1
src/common/metadata/serializers.py
@@ -68,7 +68,7 @@ def update_metadata(
68
69
content_type = ContentType.objects.get_for_model(instance.__class__)
70
71
- if metadata_data:
+ if not metadata_data:
72
Metadata.objects.filter(
73
object_id=instance.pk, content_type=content_type
74
).delete()
0 commit comments