mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-14 08:00:26 +01:00
fix(announce): fixed anounce score Math.around .toFixed(2)
This commit is contained in:
@@ -118,7 +118,6 @@ module.exports.announceLog = function (user, torrent, data) {
|
||||
* @param score
|
||||
*/
|
||||
module.exports.scoreLog = function (user, score) {
|
||||
logger.info('score=' + score);
|
||||
//write userDaysLog
|
||||
var mom = moment().utcOffset(appConfig.dbTimeZone);
|
||||
var y = mom.get('year');
|
||||
|
||||
@@ -22,7 +22,6 @@ var scoreConfig = config.meanTorrentConfig.score;
|
||||
* @param value
|
||||
*/
|
||||
module.exports.update = function (req, user, action, value, writeLog = true) {
|
||||
logger.info('value=' + value);
|
||||
var v = value || action.value;
|
||||
|
||||
if (action.enable) {
|
||||
|
||||
Reference in New Issue
Block a user