Browse Source

missed one

Grant Limberg 2 tuần trước cách đây
mục cha
commit
77aa8c7bf8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      nonfree/controller/PubSubListener.cpp

+ 1 - 1
nonfree/controller/PubSubListener.cpp

@@ -373,7 +373,7 @@ nlohmann::json toJson(const pbmessages::NetworkChange_Network& nc, pbmessages::N
 	}
 	catch (const nlohmann::json::parse_error& e) {
 		fprintf(stderr, "toJson Network tags JSON parse error: %s\n", e.what());
-		out["tags"] = "[]";
+		out["tags"] = nlohmann::json::array();
 	}
 
 	if (nc.has_ipv4_assign_mode()) {