Fix files downloading (#715)

This commit is contained in:
Stéphane de Wit
2018-09-22 19:27:42 +02:00
committed by John Furrow
parent cedd8bea7a
commit 23e914ab4d
+1 -1
View File
@@ -83,7 +83,7 @@ const client = {
const selectedTorrent = services.torrentService.getTorrent(hash);
if (!selectedTorrent) return res.status(404).json({error: 'Torrent not found.'});
this.getTorrentDetails(user, hash, torrentDetails => {
this.getTorrentDetails(user, services, hash, torrentDetails => {
if (!torrentDetails) return res.status(404).json({error: 'Torrent details not found'});
let files;