PLT-7 adding loc db calls for posts table

Этот коммит содержится в:
=Corey Hulen
2016-01-20 10:34:31 -06:00
родитель 3ac5ecf0e9
Коммит aac8d121a0
10 изменённых файлов: 182 добавлений и 181 удалений

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

@@ -370,7 +370,7 @@ func postPermalink(c *api.Context, w http.ResponseWriter, r *http.Request) {
}
var post *model.Post
if result := <-api.Srv.Store.Post().Get(postId); result.Err != nil {
if result := <-api.Srv.Store.Post().Get(c.T, postId); result.Err != nil {
c.Err = result.Err
return
} else {