diff options
Diffstat (limited to 'lib/mattermost')
-rw-r--r-- | lib/mattermost/team.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/team.rb b/lib/mattermost/team.rb index 69b0a3edf6f..2cdbbdece16 100644 --- a/lib/mattermost/team.rb +++ b/lib/mattermost/team.rb @@ -2,7 +2,7 @@ module Mattermost class Team < Client # Returns **all** teams for an admin def all - session_get('/api/v3/teams/all') + session_get('/api/v3/teams/all').values end # Creates a team on the linked Mattermost instance, the team admin will be the |