summaryrefslogtreecommitdiff
path: root/app/graphql/graphql_triggers.rb
blob: 671c7c2cd2503eec1e781774f424a3c172b97e9e (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

module GraphqlTriggers
  def self.issuable_assignees_updated(issuable)
    GitlabSchema.subscriptions.trigger('issuableAssigneesUpdated', { issuable_id: issuable.to_gid }, issuable)
  end
end