json field fix
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ Central Controller Build (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
/ multi-arch-docker (push) Has been cancelled

This commit is contained in:
Grant Limberg 2025-09-25 16:34:08 -07:00
parent c6b7c263d2
commit 315bf240fc

View file

@ -1352,7 +1352,7 @@ void CentralDB::commitThread()
w.commit(); w.commit();
const uint64_t nwidInt = OSUtils::jsonIntHex(config["nwid"], 0ULL); const uint64_t nwidInt = OSUtils::jsonIntHex(config["id"], 0ULL);
if (nwidInt) { if (nwidInt) {
nlohmann::json nwOrig; nlohmann::json nwOrig;
nlohmann::json nwNew(config); nlohmann::json nwNew(config);