From 40d3d574132d2849646c20eb9d8742b159d9bfc8 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 13 Sep 2019 18:06:03 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- lib/api/helpers/services_helpers.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/api/helpers/services_helpers.rb') diff --git a/lib/api/helpers/services_helpers.rb b/lib/api/helpers/services_helpers.rb index 607a498ffb2..5331de3c035 100644 --- a/lib/api/helpers/services_helpers.rb +++ b/lib/api/helpers/services_helpers.rb @@ -27,6 +27,12 @@ module API name: :channel, type: String, desc: 'The default chat channel' + }, + { + required: false, + name: :branches_to_be_notified, + type: String, + desc: 'Branches for which notifications are to be sent' } ].freeze end @@ -38,12 +44,6 @@ module API name: :notify_only_broken_pipelines, type: Boolean, desc: 'Send notifications for broken pipelines' - }, - { - required: false, - name: :notify_only_default_branch, - type: Boolean, - desc: 'Send notifications only for the default branch' } ].freeze end @@ -540,9 +540,9 @@ module API }, { required: false, - name: :notify_only_default_branch, - type: Boolean, - desc: 'Send notifications only for the default branch' + name: :branches_to_be_notified, + type: String, + desc: 'Branches for which notifications are to be sent' } ], 'pivotaltracker' => [ -- cgit v1.2.1