diff --git a/basicauth_serve.js b/basicauth_serve.js index dc34e05..b1e8548 100644 --- a/basicauth_serve.js +++ b/basicauth_serve.js @@ -190,6 +190,7 @@ app.all('/locations_full.geojson', (req, res) => { if (data['body']['response'] === 1) { haze_authToken = data['body']['authToken']; haze_username = data['body']['username']; + // TODO: add platform report haze.send('{"event": "getMyLocationsRequest_request","body": [{"higlightImages": true}],"socketMessageId": ' + hazeSocketCounter++ + '}'); } else { console.dir(req.query); @@ -327,6 +328,7 @@ app.all('/locations.geojson', (req, res) => { if (data['body']['response'] === 1) { haze_authToken = data['body']['authToken']; haze_username = data['body']['username']; + // TODO: add platform report haze.send('{"event": "getMyLocationsRequest_request","body": [{"higlightImages": true}],"socketMessageId": 0}'); } else { console.dir(req.query);