diff --git a/lib/db.coffee b/lib/db.coffee index 9b20060..c84a6ca 100644 --- a/lib/db.coffee +++ b/lib/db.coffee @@ -272,7 +272,7 @@ fetchDevice = (id, timestamp, patterns, callback) -> res.push([['Events', 'Inform'], +v, {object: [+v, 0], writable: [+v, 0], value: [+v, [+v, 'xsd:dateTime']]}]) delete device[k] - when '_lastInform' + when '_lastBoot' res.push([['Events'], timestamp, {object: [timestamp, 1], writable: [timestamp, 0]}]) res.push([['Events', '1_BOOT'], +v,