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