sending processing date

This commit is contained in:
Luis Fernando Molina committed 2019-10-04 21:21:13 +02:00
1 parent 92883afa17
commit 0b999ed1fb
1 file changed
+3 -2
+3 -2
View File
@@ -1047,9 +1047,10 @@
global.SYSTEM_EVENT_HANDLER.raiseEvent(key, 'Heartbeat', event)
}
function sessionHeartBeat() {
function sessionHeartBeat(processingDate) {
let event = {
seconds: (new Date()).getSeconds()
seconds: (new Date()).getSeconds(),
processingDate: processingDate
}
global.SYSTEM_EVENT_HANDLER.raiseEvent(bot.sessionKey, 'Heartbeat', event)