mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 11:06:35 +00:00
Add ability to retrieve individual torrent
This commit is contained in:
@@ -156,6 +156,10 @@ var client = {
|
||||
request.send();
|
||||
},
|
||||
|
||||
getTorrent: (options, callback) => {
|
||||
callback(torrentCollection.getTorrent(options.hash));
|
||||
},
|
||||
|
||||
getTorrentStatusCount: (callback) => {
|
||||
callback(statusCount);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user