fix(announce): fixed anounce score Math.around .toFixed(2)

This commit is contained in:
OldHawk
2018-05-06 21:35:09 +08:00
parent dabd79824d
commit 46169151d7
2 changed files with 0 additions and 2 deletions

View File

@@ -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');

View File

@@ -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) {