Skip to content

Commit 1b59678

Browse files
fix filter for of interest
1 parent f138a2e commit 1b59678

File tree

1 file changed

+1
-1
lines changed
  • projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/messaging

1 file changed

+1
-1
lines changed

projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/messaging/Handler.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Handler(
4747
}
4848

4949
private fun Notification<*>.publishedOfInterest(): Boolean =
50-
eventType == CASE_NOTE_PUBLISHED && typeIsOfInterest()
50+
eventType == CASE_NOTE_PUBLISHED
5151

5252
private fun Notification<*>.isCaseNoteOfInterest(): Boolean =
5353
(eventType == PERSON_CASE_NOTE_CREATED || eventType == PERSON_CASE_NOTE_UPDATED) && typeIsOfInterest()

0 commit comments

Comments
 (0)