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

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to