mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix bug
This commit is contained in:
@@ -225,9 +225,7 @@ async function addDownload(_torrent: any) {
|
|||||||
|
|
||||||
startNProgress()
|
startNProgress()
|
||||||
try {
|
try {
|
||||||
const result: { [key: string]: any } = await api.post('download/add', {
|
const result: { [key: string]: any } = await api.post('download/add', _torrent)
|
||||||
torrent_in: _torrent,
|
|
||||||
})
|
|
||||||
|
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
// 添加下载成功
|
// 添加下载成功
|
||||||
|
|||||||
Reference in New Issue
Block a user