summaryrefslogtreecommitdiff
path: root/lib/api/helpers/services_helpers.rb
diff options
context:
space:
mode:
authorSeiji Suenaga <seijisuenaga@gmail.com>2019-06-18 23:05:41 +0000
committerSeiji Suenaga <SSuenaga@balanceinnovations.com>2019-06-18 19:45:35 -0500
commitd5d2f8fb6b3452cd1ebac1e006728e8dcb74b3d6 (patch)
treef03052d944d888311b675fb5fcd73cb7ffd2be98 /lib/api/helpers/services_helpers.rb
parent5ee6771c60fd36081bf95f4f577a3406197a61b9 (diff)
downloadgitlab-ce-d5d2f8fb6b3452cd1ebac1e006728e8dcb74b3d6.tar.gz
59702 Fix API notification flags for MS Teams
Diffstat (limited to 'lib/api/helpers/services_helpers.rb')
-rw-r--r--lib/api/helpers/services_helpers.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/api/helpers/services_helpers.rb b/lib/api/helpers/services_helpers.rb
index 44c577204b8..cf2e9d01356 100644
--- a/lib/api/helpers/services_helpers.rb
+++ b/lib/api/helpers/services_helpers.rb
@@ -683,8 +683,9 @@ module API
name: :webhook,
type: String,
desc: 'The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/…'
- }
- ],
+ },
+ chat_notification_flags
+ ].flatten,
'mattermost' => [
chat_notification_settings,
chat_notification_flags,