added a cleanup

This commit is contained in:
0xdcarns
2022-01-28 18:27:21 -05:00
parent 48d6d57f25
commit 19426fc3e1
3 changed files with 8 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ func TimerCheckpoint() error {
runHooks()
}
// set telemetry timestamp for server, restarts 24 hour cycle
return setTelemetryTimestamp(telRecord.UUID)
return setTelemetryTimestamp(&telRecord)
}
// AddHook - adds a hook function to run every 24hrs