Skip to content

Commit

Permalink
fix: missed mimetype of stream in aria2 monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jun 25, 2022
1 parent ee2bc99 commit 7dadab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/aria2/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
Expand Down

0 comments on commit 7dadab9

Please sign in to comment.