diff --git a/apiserver/plane/api/serializers/page.py b/apiserver/plane/api/serializers/page.py index c4a803e7e..c7f9f0264 100644 --- a/apiserver/plane/api/serializers/page.py +++ b/apiserver/plane/api/serializers/page.py @@ -67,7 +67,7 @@ class PageSerializer(BaseSerializer): def update(self, instance, validated_data): labels = validated_data.pop("labels_list", None) if labels is not None: - PageLabel.objects.filter(issue=instance).delete() + PageLabel.objects.filter(page=instance).delete() PageLabel.objects.bulk_create( [ PageLabel(