Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
SDIT-1064: ✨ Add in listening to offender charges event (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
petergphillips authored Sep 18, 2023
1 parent a7ef7aa commit 673f6da
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class PrisonerEventListener(

"OFFENDER-INSERTED", "OFFENDER-UPDATED", "OFFENDER_DETAILS-CHANGED",
"OFFENDER_ALIAS-CHANGED", "OFFENDER_PHYSICAL_DETAILS-CHANGED",
"OFFENDER_IDENTIFIER-UPDATED",
"ASSESSMENT-UPDATED",
"OFFENDER_IDENTIFIER-UPDATED", "ASSESSMENT-UPDATED", "OFFENDER_CHARGES-UPDATED",
-> prisonerSyncService.offenderChange(fromJson(message))

"DATA_COMPLIANCE_DELETE-OFFENDER" -> prisonerSyncService.deleteOffender(fromJson(message))
Expand Down

0 comments on commit 673f6da

Please sign in to comment.