From e12b50ba2df2be73a930e85692cc753eeee235bf Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Tue, 8 May 2018 10:43:11 +0200 Subject: [PATCH] tip-kudos-recipients: Fix trace message --- bot_scripts/tip-kudos-recipients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_scripts/tip-kudos-recipients.js b/bot_scripts/tip-kudos-recipients.js index 0ac4283..27e46f0 100644 --- a/bot_scripts/tip-kudos-recipients.js +++ b/bot_scripts/tip-kudos-recipients.js @@ -37,7 +37,7 @@ module.exports = robot => { return } - robot.log.info(`${botName} - Repeating script every ${paymentPeriodicityInSecs / 24 * 60 * 60} days`) + robot.log.info(`${botName} - Repeating script every ${paymentPeriodicityInSecs / (24 * 60 * 60)} days`) setTimeout(() => processKudosChannelUpdates(robot), process.env.DISABLE_DELAY ? 1 * 1000 : 30 * 1000) setInterval(() => processKudosChannelUpdates(robot), 24 * 60 * 60 * 1000) }