Skip to content

Commit

Permalink
PIN-4727: Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
galales committed Mar 25, 2024
1 parent 4307795 commit c69a639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +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 _: AgreementAdded => 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 c69a639

Please sign in to comment.