diff options
Diffstat (limited to 'lib/api/helpers/services_helpers.rb')
-rw-r--r-- | lib/api/helpers/services_helpers.rb | 18 |
1 files changed, 9 insertions, 9 deletions
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' => [ |