fix error

This commit is contained in:
theluyuan 2023-07-31 22:26:30 +08:00
parent e31b5dc739
commit 41464fc47b

View File

@ -53,7 +53,7 @@ async function updateSeed(info, desc) {
responseType: 'stream', responseType: 'stream',
proxy: false proxy: false
}).then(response => { }).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`)));
}) })
} }