Skip getting the post again when getting file metadata for a post (#9879)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
60393f1cad
Коммит
ba627c0f92
@@ -528,7 +528,7 @@ func getFileInfosForPost(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
infos, err := c.App.GetFileInfosForPost(c.Params.PostId, false)
|
||||
infos, err := c.App.GetFileInfosForPostWithMigration(c.Params.PostId)
|
||||
if err != nil {
|
||||
c.Err = err
|
||||
return
|
||||
|
||||
Ссылка в новой задаче
Block a user