fix: missed mimetype of stream in aria2 monitor

refactor/fs
Noah Hsu 2022-06-25 15:15:54 +08:00
parent ee2bc99e4c
commit 7dadab95b2
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ func (m *Monitor) Complete() error {
IsFolder: false,
},
ReadCloser: f,
Mimetype: "",
Mimetype: mimetype,
}
return operations.Put(tsk.Ctx, account, dstDirActualPath, stream, tsk.SetProgress)
},