From 41464fc47bb40bc8d333cc9a844ccc12dd24cfa1 Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Mon, 31 Jul 2023 22:26:30 +0800 Subject: [PATCH] fix error --- util/SendSeed/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/SendSeed/index.js b/util/SendSeed/index.js index bbe21b0..eb6818b 100644 --- a/util/SendSeed/index.js +++ b/util/SendSeed/index.js @@ -53,7 +53,7 @@ async function updateSeed(info, desc) { responseType: 'stream', proxy: false }).then(response => { - response.data.pipe(fs.createWriteStream(path.join(cwd(), `/downtor/${new Date().getTime()}.torrent))); + response.data.pipe(fs.createWriteStream(path.join(cwd(), `/downtor/${new Date().getTime()}.torrent`))); }) }