diff options
Diffstat (limited to 'lib/mattermost/team.rb')
-rw-r--r-- | lib/mattermost/team.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mattermost/team.rb b/lib/mattermost/team.rb index 58120178f50..12e6cb65ce4 100644 --- a/lib/mattermost/team.rb +++ b/lib/mattermost/team.rb @@ -10,10 +10,10 @@ module Mattermost # Creates a team on the linked Mattermost instance, the team admin will be the # `current_user` passed to the Mattermost::Client instance def create(name:, display_name:, type:) - session_post('/api/v4/teams', body: { + session_post("/api/v4/teams", body: { name: name, display_name: display_name, - type: type + type: type, }.to_json) end |