fix: missed mimetype of stream in aria2 monitor
This commit is contained in:
@ -139,7 +139,7 @@ func (m *Monitor) Complete() error {
|
|||||||
IsFolder: false,
|
IsFolder: false,
|
||||||
},
|
},
|
||||||
ReadCloser: f,
|
ReadCloser: f,
|
||||||
Mimetype: "",
|
Mimetype: mimetype,
|
||||||
}
|
}
|
||||||
return operations.Put(tsk.Ctx, account, dstDirActualPath, stream, tsk.SetProgress)
|
return operations.Put(tsk.Ctx, account, dstDirActualPath, stream, tsk.SetProgress)
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user