This commit is contained in:
Kaive Young 2025-04-04 22:22:59 +00:00 committed by GitHub
commit 55e4bbceed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1648,7 +1648,7 @@ void PostgreSQL::commitThread()
try { try {
pqxx::work w(*c->c); pqxx::work w(*c->c);
std::string networkId = config["nwid"]; std::string networkId = config["id"];
pqxx::result res = w.exec_params0("UPDATE ztc_network SET deleted = true WHERE id = $1", pqxx::result res = w.exec_params0("UPDATE ztc_network SET deleted = true WHERE id = $1",
networkId); networkId);