Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 21:08:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-01 21:08:46 +0300
commit1c7a88b121670eb5732ff4ddac3a2121fb36395a (patch)
tree5ca1e7e6b9e3e0a61908cfbd5ac86fb55dfc4699 /app/graphql/graphql_triggers.rb
parentcdd826bc3ad3e6f234f96a861efa129dba5e2502 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/graphql_triggers.rb')
-rw-r--r--app/graphql/graphql_triggers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/graphql/graphql_triggers.rb b/app/graphql/graphql_triggers.rb
index ac1a4a6b9ef..342cff83e90 100644
--- a/app/graphql/graphql_triggers.rb
+++ b/app/graphql/graphql_triggers.rb
@@ -12,4 +12,8 @@ module GraphqlTriggers
def self.issuable_title_updated(issuable)
GitlabSchema.subscriptions.trigger('issuableTitleUpdated', { issuable_id: issuable.to_gid }, issuable)
end
+
+ def self.issuable_labels_updated(issuable)
+ GitlabSchema.subscriptions.trigger('issuableLabelsUpdated', { issuable_id: issuable.to_gid }, issuable)
+ end
end