Этот коммит содержится в:
Arya Khochare
2024-10-02 15:46:10 +05:30
коммит произвёл GitHub
родитель 887c3a800d
Коммит 2b03afdfc2
2 изменённых файлов: 3 добавлений и 2 удалений

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

@@ -78,7 +78,6 @@ issues:
channels/api4/emoji_test.go|\
channels/api4/export.go|\
channels/api4/export_test.go|\
channels/api4/file.go|\
channels/api4/file_test.go|\
channels/api4/group.go|\
channels/api4/group_local.go|\

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

@@ -607,7 +607,9 @@ func getFileLink(c *Context, w http.ResponseWriter, r *http.Request) {
auditRec.Success()
w.Write([]byte(model.MapToJSON(resp)))
if _, err := w.Write([]byte(model.MapToJSON(resp))); err != nil {
c.Logger.Warn("Error while writing response", mlog.Err(err))
}
}
func getFilePreview(c *Context, w http.ResponseWriter, r *http.Request) {