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