Этот коммит содержится в:
JoramWilander
2015-06-15 09:06:55 -04:00
родитель 6982a61f69
Коммит a281e962fc
3 изменённых файлов: 60 добавлений и 48 удалений

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

@@ -61,6 +61,7 @@ func createValetPost(c *Context, w http.ResponseWriter, r *http.Request) {
if !utils.Cfg.TeamSettings.AllowValet {
c.Err = model.NewAppError("createValetPost", "The valet feature is currently turned off. Please contact your system administrator for details.", "")
c.Err.StatusCode = http.StatusNotImplemented
return
}
post := model.PostFromJson(r.Body)