From df96efca3e010741056484393cd93aef387d5f06 Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Tue, 31 Jan 2023 00:47:23 +0530 Subject: [PATCH] fix: typo while updating members in a module (#209) --- apiserver/plane/api/serializers/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/serializers/module.py b/apiserver/plane/api/serializers/module.py index 9f165dd28..2aa5ec208 100644 --- a/apiserver/plane/api/serializers/module.py +++ b/apiserver/plane/api/serializers/module.py @@ -93,7 +93,7 @@ class ModuleWriteSerializer(BaseSerializer): links = validated_data.pop("links_list", None) if members is not None: - ModuleIssue.objects.filter(module=instance).delete() + ModuleMember.objects.filter(module=instance).delete() ModuleMember.objects.bulk_create( [ ModuleMember(