forked from github/plane
fix: delete old blocks from on issue update
This commit is contained in:
parent
364ad0a301
commit
e631d50853
@ -229,6 +229,7 @@ class IssueCreateSerializer(BaseSerializer):
|
||||
)
|
||||
|
||||
if blocks is not None:
|
||||
IssueBlocker.objects.filter(blocked_by=instance).delete()
|
||||
IssueBlocker.objects.bulk_create(
|
||||
[
|
||||
IssueBlocker(
|
||||
|
Loading…
Reference in New Issue
Block a user