Merge branch 'record-for-demo'

master
Keith Irwin 2017-05-23 14:03:30 -04:00
commit cb25e7dd83
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ module.exports = {
// If Keith, record location to file
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) {});
}
}