fix(bt): honor selected files when creating resolved tasks (#1523)

This commit is contained in:
Levi authored and GitHub committed 2026-09-18 22:32:09 +08:00
1 parent 743f356567
commit 1ab452ced8
12 files changed
+573 -21

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ func CreateTask(w http.ResponseWriter, r *http.Request) {
err error
)
if req.Rid != "" {
taskId, err = Downloader.Create(req.Rid)
taskId, err = Downloader.CreateWithOptions(req.Rid, req.Opts)
} else if req.Req != nil {
taskId, err = Downloader.CreateDirect(req.Req, req.Opts)
} else {