Skip to content

Commit

Permalink
Update indigo_api/models/works.py
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer authored Jan 11, 2024
1 parent 005edae commit 331cd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indigo_api/models/works.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def approve(self, user, request=None):
self.approved_at = datetime.now()
self.save_with_revision(user)
action.send(user, verb='approved', action_object=self, place_code=self.place.place_code)
work_approved.send(sender=self, request=request)
work_approved.send(sender=self.__class__, work=self, request=request)
except IntegrityError:
pass

Expand Down

0 comments on commit 331cd22

Please sign in to comment.