Skip to content

Commit

Permalink
[SDESK-7163] fix: Purge assignment lock fails (#1924)
Browse files Browse the repository at this point in the history
Due to incomplete `system_update` signature in Assignments service (missing `kwargs`)
  • Loading branch information
MarkLark86 authored Feb 29, 2024
1 parent da528c6 commit 7a84d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/planning/assignments/assignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ def on_updated(self, updates, original):
self.notify("assignments:updated", updates, original)
self.send_assignment_notification(updates, original)

def system_update(self, id, updates, original):
super().system_update(id, updates, original)
def system_update(self, id, updates, original, **kwargs):
super().system_update(id, updates, original, **kwargs)
if self.is_assignment_being_activated(updates, original):
doc = deepcopy(original)
doc.update(updates)
Expand Down

0 comments on commit 7a84d87

Please sign in to comment.