mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-14 03:12:21 +01:00
fix(announce): fixed announce download percent issue
This commit is contained in:
@@ -693,7 +693,7 @@ exports.announce = function (req, res) {
|
||||
//write peer data
|
||||
req.currentPeer.peer_uploaded = query.uploaded;
|
||||
req.currentPeer.peer_downloaded = query.downloaded;
|
||||
req.currentPeer.peer_left = query.peer_left;
|
||||
req.currentPeer.peer_left = query.left;
|
||||
req.currentPeer.save();
|
||||
|
||||
done(null, curru, currd);
|
||||
|
||||
Reference in New Issue
Block a user