Sending current date to the bot

This commit is contained in:
Luis Fernando Molina committed 2019-03-17 09:15:44 +01:00
1 parent a3ddec4831
commit f08383d65b
1 file changed
+1 -1
+1 -1
View File
@@ -463,7 +463,7 @@
const outputPeriod = global.dailyFilesPeriods[n][0];
const timePeriod = global.dailyFilesPeriods[n][1];
usertBot.start(dataFiles, outputPeriod, timePeriod, onBotFinished);
usertBot.start(dataFiles, outputPeriod, timePeriod, currentDate, onBotFinished);
function onBotFinished(err) {