summaryrefslogtreecommitdiff
path: root/lib/mattermost/team.rb
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-01-23 12:58:51 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-01-24 11:30:47 +0100
commitf187cc59d6c5a293ca4a1152fad3a0794e25e3ed (patch)
treed3a2d01c130f511380649d9ea447c7a1f025e351 /lib/mattermost/team.rb
parentb60de9c0fd90c310d2a4146f75b67f9f360cbd6c (diff)
downloadgitlab-ce-f187cc59d6c5a293ca4a1152fad3a0794e25e3ed.tar.gz
Small update to the Mattermost APIzj-mattermost-api-update
These changes make it possible to wrap multiple API requests in one session.
Diffstat (limited to 'lib/mattermost/team.rb')
-rw-r--r--lib/mattermost/team.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/team.rb b/lib/mattermost/team.rb
index 784eca6ab5a..09dfd082b3a 100644
--- a/lib/mattermost/team.rb
+++ b/lib/mattermost/team.rb
@@ -1,7 +1,7 @@
module Mattermost
class Team < Client
def all
- json_get('/api/v3/teams/all')
+ session_get('/api/v3/teams/all')
end
end
end