diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-06-05 11:55:32 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-06-05 11:55:32 +0100 |
commit | 3f9cdb9c9822f176ebe4ce8aa34a84e06bae60f0 (patch) | |
tree | 8b029adbe769e0c082f2e83ba831ba065648dbb4 /lib/mattermost/command.rb | |
parent | 7e36fa398b6f2e0304d852b7c77ef30d83e62ed4 (diff) | |
parent | 7eb2f184e6a74c84a58ba07d78d2bcaab764a42d (diff) | |
download | gitlab-ce-3f9cdb9c9822f176ebe4ce8aa34a84e06bae60f0.tar.gz |
Merge remote-tracking branch 'origin/master' into 39549-label-list-page-redesign-with-draggable-labels
Diffstat (limited to 'lib/mattermost/command.rb')
-rw-r--r-- | lib/mattermost/command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/command.rb b/lib/mattermost/command.rb index 33e450d7f0a..704813dfdf0 100644 --- a/lib/mattermost/command.rb +++ b/lib/mattermost/command.rb @@ -1,7 +1,7 @@ module Mattermost class Command < Client def create(params) - response = session_post("/api/v3/teams/#{params[:team_id]}/commands/create", + response = session_post('/api/v4/commands', body: params.to_json) response['token'] |