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:
authorMark Fletcher <mark@gitlab.com>2017-11-08 13:22:24 +0300
committerMark Fletcher <mark@gitlab.com>2017-11-08 22:48:19 +0300
commit12d622eb996b6499e5fbd2be01cca27c08a976fa (patch)
treefa1f41c5afd88034c52e39f04bb947147ad269e7 /lib/api/services.rb
parent0c3877a48827b587b407174410196993bec79f73 (diff)
Fix acceptance of username for Mattermost service update via API
Diffstat (limited to 'lib/api/services.rb')
-rw-r--r--lib/api/services.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb
index 6454e475036..bbcc851d07a 100644
--- a/lib/api/services.rb
+++ b/lib/api/services.rb
@@ -522,6 +522,12 @@ module API
name: :webhook,
type: String,
desc: 'The Mattermost webhook. e.g. http://mattermost_host/hooks/...'
+ },
+ {
+ required: false,
+ name: :username,
+ type: String,
+ desc: 'The username to use to post the message'
}
],
'teamcity' => [