mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
Also fixed Torrent form fields
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user