Also fixed Torrent form fields

This commit is contained in:
Larvey committed 2022-06-20 17:26:13 -04:00
1 parent d654fb39e5
commit c3ceae4dc6
2 files changed
+59 -48

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ async function Post(req: NextApiRequest, res: NextApiResponse) {
...(
await new Transmission({
baseUrl: service.url,
username: service.username,
username: 'username' in service ? service.username : '',
password: 'password' in service ? service.password : '',
}).getAllData()
).torrents