mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
MM-9747: Small fixes for attachments import (#9225)
* MM-9747: Small fixes for attachments import * Adding unit test RootId check in replies
This commit is contained in:
committed by
Carlos Tadeu Panato Junior
parent
7475cd260a
commit
5fbec91c35
@@ -285,6 +285,7 @@ func getFilePreview(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
c.Err = err
|
||||
c.Err.StatusCode = http.StatusNotFound
|
||||
return
|
||||
}
|
||||
defer fileReader.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user