Skip to content

Commit 7632a62

Browse files
committed
fix: send notification when assessment gets removed
1 parent db9cf8e commit 7632a62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/application/core/services/observation_log.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def create_observation_log( # pylint: disable=too-many-arguments
5151
if assessment_status in (
5252
Assessment_Status.ASSESSMENT_STATUS_APPROVED,
5353
Assessment_Status.ASSESSMENT_STATUS_AUTO_APPROVED,
54+
Assessment_Status.ASSESSMENT_STATUS_REMOVED
5455
):
5556
send_observation_notification(observation)
5657
send_observation_title_notification(observation)

0 commit comments

Comments
 (0)