| FIX: broken details page - seedlinux - Torrent indexing tool opensource torrent… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 884526fd2dfb89157e0d60a31bd7e338acc5569c | |
| parent 2f35008b9493392a9c01e92326e2fcee14143610 | |
| Author: Jay Scott <[email protected]> | |
| Date: Wed, 5 Jul 2017 21:18:41 +0100 | |
| FIX: broken details page | |
| Diffstat: | |
| M controllers/torrents_controller.js | 3 +++ | |
| 1 file changed, 3 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/controllers/torrents_controller.js b/controllers/torrents_controll… | |
| @@ -87,6 +87,9 @@ exports.torrent_detail = function(req, res) { | |
| }, | |
| torrent_data: function(callback) { | |
| Torrent.find({ hash: req.params.id }, callback); | |
| + }, | |
| + torrent_seeds: function(callback) { | |
| + getCount(callback); | |
| } | |
| }, | |
| function(err, results) { |