Skip to content

Commit

Permalink
PIN-4727: Fix missing case
Browse files Browse the repository at this point in the history
  • Loading branch information
galales committed Mar 25, 2024
1 parent d31cfcc commit 4307795
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ object AgreementEventsConverter {
// Draft creation should not be notified
case AgreementAdded(a) if a.state != Draft =>
AgreementPayload(agreementId = a.id.toString(), eventType = EventType.ADDED.toString()).some
case AgreementAdded(a) => None
case AgreementUpdated(a) =>
AgreementPayload(agreementId = a.id.toString(), eventType = EventType.UPDATED.toString()).some
// Only agreements that have never been active can be deleted
Expand Down

0 comments on commit 4307795

Please sign in to comment.