added stale agent function

This commit is contained in:
Joshua Collins 2020-08-20 12:49:21 -04:00
parent c418e6dba2
commit 79a948c939

View File

@ -10,7 +10,7 @@ const Agents = () => {
agent.os = os
agent.ip = ip
agent.profile = profile
agent.interval = parseInterval(interval)
agent.interval = parseInt(interval)
agent.last_beacon_date = new Date(Date.now()).toLocaleString()
agent.status = true
obj.agents.push(agent)