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:
Diffstat (limited to 'lib/api/helpers/integrations_helpers.rb')
-rw-r--r--lib/api/helpers/integrations_helpers.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/api/helpers/integrations_helpers.rb b/lib/api/helpers/integrations_helpers.rb
index 09dd69ef03b..53117af8648 100644
--- a/lib/api/helpers/integrations_helpers.rb
+++ b/lib/api/helpers/integrations_helpers.rb
@@ -453,7 +453,8 @@ module API
desc: 'Branches for which notifications are to be sent'
},
chat_notification_flags,
- chat_notification_events
+ chat_notification_events,
+ chat_notification_channels
].flatten,
'drone-ci' => [
{
@@ -527,6 +528,12 @@ module API
name: :service_account_key_file_name,
type: String,
desc: 'The filename of the Google Play service account key'
+ },
+ {
+ required: false,
+ name: :google_play_protected_refs,
+ type: ::Grape::API::Boolean,
+ desc: 'Only enable for protected refs'
}
],
'hangouts-chat' => [