fix: put as task from web

This commit is contained in:
Noah Hsu
2022-07-01 15:04:02 +08:00
parent 4d0ae6b1ef
commit 4340a48633
8 changed files with 45 additions and 7 deletions

View File

@ -65,7 +65,7 @@ func getFileStreamFromLink(file model.Obj, link *model.Link) (model.FileStreamer
if mimetype == "" {
mimetype = "application/octet-stream"
}
stream := model.FileStream{
stream := &model.FileStream{
Obj: file,
ReadCloser: rc,
Mimetype: mimetype,