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
path: root/app
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-22 15:43:20 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-22 15:43:36 +0300
commitf6fceb653958f0f1b0c832a3e642ea7cea1fab24 (patch)
tree998305590edff97590cf0484f43dbb1ee442baf9 /app
parent6d9c1d3efce00da95832feaaf36227bcbffecadf (diff)
Fix Mattermost command creation by specifying username
Diffstat (limited to 'app')
-rw-r--r--app/models/project_services/mattermost_slash_commands_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/mattermost_slash_commands_service.rb b/app/models/project_services/mattermost_slash_commands_service.rb
index 6c78c0af71c..2cb481182d7 100644
--- a/app/models/project_services/mattermost_slash_commands_service.rb
+++ b/app/models/project_services/mattermost_slash_commands_service.rb
@@ -46,6 +46,6 @@ class MattermostSlashCommandsService < ChatSlashCommandsService
description: "Perform common operations on: #{pretty_project_name}",
display_name: "GitLab / #{pretty_project_name}",
method: 'P',
- user_name: 'GitLab')
+ username: 'GitLab')
end
end