From 372b74776f9aca51dba281b582484b43f70170da Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 18 Mar 2024 23:42:24 +0800 Subject: [PATCH] fix bug --- src/components/cards/SiteCard.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/cards/SiteCard.vue b/src/components/cards/SiteCard.vue index e11bd895..c6a0cdfa 100644 --- a/src/components/cards/SiteCard.vue +++ b/src/components/cards/SiteCard.vue @@ -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) { // 添加下载成功