Skip to content

Commit

Permalink
Change the event
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu committed Jan 25, 2024
1 parent 79e52c3 commit e546fb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def notify_followers
return unless proposal.proposal_state.notifiable?

Decidim::EventsManager.publish(
event: "decidim.events.proposals.proposal_state_changed",
event: "decidim.events.custom_proposal_states.proposal_state_changed",
event_class: Decidim::CustomProposalStates::ProposalStateChangedEvent,
resource: proposal,
affected_users: proposal.notifiable_identities,
Expand Down

0 comments on commit e546fb3

Please sign in to comment.