We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87af5f7 commit 41f6329Copy full SHA for 41f6329
projects/prison-case-notes-to-probation/src/main/kotlin/uk/gov/justice/digital/hmpps/messaging/Handler.kt
@@ -47,7 +47,7 @@ class Handler(
47
}
48
49
private fun Notification<*>.publishedOfInterest(): Boolean =
50
- eventType == CASE_NOTE_PUBLISHED && typeIsOfInterest()
+ eventType == CASE_NOTE_PUBLISHED
51
52
private fun Notification<*>.isCaseNoteOfInterest(): Boolean =
53
(eventType == PERSON_CASE_NOTE_CREATED || eventType == PERSON_CASE_NOTE_UPDATED) && typeIsOfInterest()
0 commit comments