From 54d96e0de999022d7fdd5c074ef5debcfcc242ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Bene=C5=A1?= Date: Fri, 1 Dec 2023 20:39:20 +0100 Subject: [PATCH] ... --- GAPP.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GAPP.js b/GAPP.js index a645667..1a4ed51 100644 --- a/GAPP.js +++ b/GAPP.js @@ -282,7 +282,7 @@ app.post('/post/data', (req, res) => { if (deviceID == 'fik8b') { saveDataToFile("fik8b.json", receivedData); } - if (deviceID == 'px4') { + if (deviceID == 'fik-px4') { saveDataToFile("px4.json", receivedData); } } @@ -292,7 +292,7 @@ app.post('/post/data', (req, res) => { if (deviceID == 'fik8b') { saveDataToFile("fik8bLocation.json", receivedData); } - if (deviceID == 'px4') { + if (deviceID == 'fik-px4') { saveDataToFile("px4Location.json", receivedData); } }