Missing summary.lastBoot and lastBootstrap
h0rst
h0rst at localh0rst.de
Wed Jan 6 09:10:57 EST 2016
Hi again...
I found the following lines of code in "update-device.js":
> ...
> update['$set']['_lastInform'] = now;
> if (indexOf.call(updatesBatch.informEvents, '1 BOOT') >= 0) {
> update['$set']['_lastBoot'];
> }
If i edit it like:
> update['$set']['_lastBoot'] = now;
it seems to work, and i can retrieve the "_lastBoot" value for the specific
device via the API. But i'm pretty sure i might break some things with that.
Can someone at least point me in the right direction where the actual date
for "update['$set']['_lastBoot']" is set?
I'm not really a NodeJS guy :/
Kind regards,
Sebastian
More information about the Users
mailing list