Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamBenes3 committed Dec 1, 2023
1 parent 1a8de68 commit 54d96e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GAPP.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand All @@ -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);
}
}
Expand Down

0 comments on commit 54d96e0

Please sign in to comment.