fix(torrents): fixed torrent all files included issues

This commit is contained in:
OldHawk
2017-12-04 10:28:14 +08:00
parent 58f806d264
commit edc7464f0b

View File

@@ -1863,6 +1863,7 @@ exports.torrentByID = function (req, res, next, id) {
callback(err);
} else {
var mdata = torrent_data.metadata;
torrent._all_files = [];
if (mdata.info.files) {
mdata.info.files.forEach(function (f) {