mirror of
https://github.com/zoriya/flood.git
synced 2026-06-05 11:49:24 +00:00
Merge pull request #379 from jfurrow/bug/fix-multi-file-downloads
Fix bug in multi-file downloads
This commit is contained in:
@@ -80,11 +80,7 @@ var client = {
|
||||
|
||||
downloadFiles(hash, files, res) {
|
||||
try {
|
||||
let selectedTorrent = null;
|
||||
|
||||
this.getTorrent({hash}, (torrent) => {
|
||||
selectedTorrent = torrent;
|
||||
});
|
||||
const selectedTorrent = torrentService.getTorrent(hash);
|
||||
|
||||
this.getTorrentDetails(hash, (torrentDetails) => {
|
||||
const filePathsToDownload = this.findFilesByIndicies(
|
||||
|
||||
Reference in New Issue
Block a user