fix: typo while updating members in a module (#209)

This commit is contained in:
pablohashescobar 2023-01-31 00:47:23 +05:30 committed by GitHub
parent 45a52116a7
commit df96efca3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(