forked from github/plane
fix: typo while updating members in a module (#209)
This commit is contained in:
parent
45a52116a7
commit
df96efca3e
@ -93,7 +93,7 @@ class ModuleWriteSerializer(BaseSerializer):
|
|||||||
links = validated_data.pop("links_list", None)
|
links = validated_data.pop("links_list", None)
|
||||||
|
|
||||||
if members is not None:
|
if members is not None:
|
||||||
ModuleIssue.objects.filter(module=instance).delete()
|
ModuleMember.objects.filter(module=instance).delete()
|
||||||
ModuleMember.objects.bulk_create(
|
ModuleMember.objects.bulk_create(
|
||||||
[
|
[
|
||||||
ModuleMember(
|
ModuleMember(
|
||||||
|
Loading…
Reference in New Issue
Block a user