change name in searched json

This commit is contained in:
David Kocik 2024-03-25 12:32:09 +01:00
parent 456087ca23
commit 60b4789eed

View File

@ -204,7 +204,7 @@ bool UserAccount::on_connect_printers_success(const std::string& data, AppConfig
std::string name;
ConnectPrinterState state;
const auto type_opt = printer_tree.second.get_optional<std::string>("printer_type");
const auto type_opt = printer_tree.second.get_optional<std::string>("printer_model");
if (!type_opt) {
continue;
}