Merge branch 'record-for-demo'
commit
cb25e7dd83
|
@ -101,7 +101,7 @@ module.exports = {
|
||||||
|
|
||||||
// If Keith, record location to file
|
// If Keith, record location to file
|
||||||
if (user.id==='56b020279f740067540f96e9'){
|
if (user.id==='56b020279f740067540f96e9'){
|
||||||
fs.appendFile('/srv/tracman/demo.txt', `${loc.tim} ${loc.lat} ${loc.lon} ${loc.dir} ${loc.spd}\n`);
|
fs.appendFile('/srv/tracman/demo.txt', `${loc.tim} ${loc.lat} ${loc.lon} ${loc.dir} ${loc.spd}\n`, function (err) {});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue