From 11562bcbcd4a861b11e3f0d21ca7bfe62a5fc8b8 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Tue, 23 May 2017 14:03:22 -0400 Subject: [PATCH] Callback was needed --- config/sockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sockets.js b/config/sockets.js index ebace88..54243b3 100644 --- a/config/sockets.js +++ b/config/sockets.js @@ -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) {}); } }