mirror of
https://github.com/zoriya/flood.git
synced 2026-06-08 12:42:41 +00:00
server: Transmission: fix return value of addTorrent function
This commit is contained in:
@@ -167,7 +167,7 @@ class ClientRequestManager {
|
||||
if (res.data.result !== 'success') {
|
||||
throw new Error();
|
||||
}
|
||||
return res.data.arguments;
|
||||
return res.data.arguments['torrent-added'];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user