update comando api

This commit is contained in:
TheBeastLT
2021-09-16 08:45:16 +02:00
committed by TheBeastLT
parent 36f6eed9dc
commit efc433f462
6 changed files with 23 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ function torrent(torrentId, config = {}, retries = 2) {
.then((torrent) => torrent.map(el => ({ torrentId: slug, ...el })))
.catch((err) => {
console.warn(`Failed OndeBaixo ${slug} request: `, err);
return torrent(slug, config, retries - 1)
return torrent(torrentId, config, retries - 1)
});
}