Этот коммит содержится в:
Agniva De Sarker
2020-05-15 21:27:15 +05:30
коммит произвёл GitHub
родитель 21af1f49f1
Коммит bb172aea71
6 изменённых файлов: 12 добавлений и 5 удалений

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

@@ -330,8 +330,7 @@ func (a *App) MigrateFilenamesToFileInfos(post *model.Post) []*model.FileInfo {
}
// Copy and save the updated post
newPost := &model.Post{}
newPost = post.Clone()
newPost := post.Clone()
newPost.Filenames = []string{}
newPost.FileIds = fileIds