diff --git a/backend/sublet/serializers.py b/backend/sublet/serializers.py index d814e7a5..6bd96276 100644 --- a/backend/sublet/serializers.py +++ b/backend/sublet/serializers.py @@ -135,7 +135,7 @@ def update(self, instance, validated_data): or self.context["request"].user.is_superuser ): if instance.is_draft: - self.validate_not_draft(validated_data) + self.validate_not_draft(validated_data, instance) instance = super().update(instance, validated_data) instance.save() return instance