1234567891011121314 |
- # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- # Trigger GraphQL subscriptions on user changes.
- module Macro::TriggersSubscriptions
- extend ActiveSupport::Concern
- included do
- after_commit :trigger_subscriptions
- end
- def trigger_subscriptions
- Gql::Subscriptions::MacrosUpdate.trigger(self)
- end
- end
|