mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-25 03:02:23 +08:00
fix 下载任务userid登记
This commit is contained in:
@@ -45,7 +45,7 @@ def add_downloading(
|
||||
media_info=mediainfo,
|
||||
torrent_info=torrentinfo
|
||||
)
|
||||
did = DownloadChain().download_single(context=context, username=current_user.name)
|
||||
did = DownloadChain().download_single(context=context, userid=current_user.name, username=current_user.name)
|
||||
return schemas.Response(success=True if did else False, data={
|
||||
"download_id": did
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user