diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-12-22 17:05:33 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-12-22 17:05:33 +0100 |
commit | ac11131e1ae3c9da7fc3b857931bd1b68d24333b (patch) | |
tree | e441ac809bcb0b0ae87ad145415c21236845b810 | |
parent | 19b0af4e876050dc31028f711057618846421d70 (diff) | |
download | gitlab-ce-zj-mattermost-error-team-fetch.tar.gz |
Fix teams receiving an errorzj-mattermost-error-team-fetch
-rw-r--r-- | app/models/project_services/mattermost_slash_commands_service.rb | 2 |
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 2cb481182d7..5fbf19074b2 100644 --- a/app/models/project_services/mattermost_slash_commands_service.rb +++ b/app/models/project_services/mattermost_slash_commands_service.rb @@ -31,7 +31,7 @@ class MattermostSlashCommandsService < ChatSlashCommandsService def list_teams(user) Mattermost::Team.new(user).all rescue Mattermost::Error => e - [[], e.message] + [] end private |