summaryrefslogtreecommitdiff
path: root/lib/mattermost
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-19 22:07:19 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-19 22:07:19 +0100
commit5d197230067edd8255b422b5970eb34bda061048 (patch)
tree151da05f06ae090d55fb14f91144d99c52cb27b6 /lib/mattermost
parentd21535602b30316646772b1cd74d7069254076df (diff)
parent05d04d04980db9d64c7679999200e03a6820bc31 (diff)
downloadgitlab-ce-5d197230067edd8255b422b5970eb34bda061048.tar.gz
Merge remote-tracking branch 'origin/zj-mattermost-slash-config' into zj-mattermost-slash-config
Diffstat (limited to 'lib/mattermost')
-rw-r--r--lib/mattermost/team.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mattermost/team.rb b/lib/mattermost/team.rb
index c1b867629b6..ea5cfd2cb0b 100644
--- a/lib/mattermost/team.rb
+++ b/lib/mattermost/team.rb
@@ -1,9 +1,7 @@
module Mattermost
class Team
def self.all(session)
- response_body = retreive_teams(session)
-
- response_body.has_key?('message') ? response_body : response_body.values
+ retreive_teams(session)
end
def self.retreive_teams(session)