This commit is contained in:
jxxghp
2023-08-08 09:23:18 +08:00
parent 5fcd7cb5ce
commit 83c9499489
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@ def add_downloading(
media_info=mediainfo,
torrent_info=torrentinfo
)
did = DownloadChain().download_single(context=context, userid=current_user.name)
did = DownloadChain().download_single(context=context)
return schemas.Response(success=True if did else False, data={
"download_id": did
})