mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-04 03:01:02 +01:00
fix(torrents): fixed torrent all files included issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user