瀏覽代碼

json field fix

Grant Limberg 3 月之前
父節點
當前提交
315bf240fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nonfree/controller/CentralDB.cpp

+ 1 - 1
nonfree/controller/CentralDB.cpp

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