APIv4 PUT /commands/{command_id} (#5999)

* APIv4 PUT /commands/{command_id}

* update client parameter and api4 test
Этот коммит содержится в:
Saturnino Abril
2017-04-08 02:06:09 +09:00
коммит произвёл Corey Hulen
родитель f7b39caf31
Коммит a3f5cffd46
5 изменённых файлов: 163 добавлений и 1 удалений

Просмотреть файл

@@ -312,6 +312,7 @@ func GetCommand(commandId string) (*model.Command, *model.AppError) {
}
if result := <-Srv.Store.Command().Get(commandId); result.Err != nil {
result.Err.StatusCode = http.StatusNotFound
return nil, result.Err
} else {
return result.Data.(*model.Command), nil