fix: update cloud sync json noxIndex by nox_index

This commit is contained in:
Phat Nguyen
2024-02-29 08:39:05 +07:00
parent 75b579bafa
commit 0084b6fb91

View File

@ -971,7 +971,7 @@ static String getServerSyncData(bool localServer) {
root["tvoc_raw"] = tvocRawIndex; root["tvoc_raw"] = tvocRawIndex;
} }
if (noxIndex >= 0) { if (noxIndex >= 0) {
root["noxIndex"] = noxIndex; root["nox_index"] = noxIndex;
} }
} }
if (hasSensorSHT) { if (hasSensorSHT) {