diff options
| author | Mark Fletcher <mark@gitlab.com> | 2017-11-08 10:22:24 +0000 |
|---|---|---|
| committer | Mark Fletcher <mark@gitlab.com> | 2017-11-08 19:48:19 +0000 |
| commit | 12d622eb996b6499e5fbd2be01cca27c08a976fa (patch) | |
| tree | fa1f41c5afd88034c52e39f04bb947147ad269e7 /lib/api | |
| parent | 0c3877a48827b587b407174410196993bec79f73 (diff) | |
| download | gitlab-ce-12d622eb996b6499e5fbd2be01cca27c08a976fa.tar.gz | |
Fix acceptance of username for Mattermost service update via API
Diffstat (limited to 'lib/api')
| -rw-r--r-- | lib/api/services.rb | 6 |
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' => [ |
