mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-21 03:03:13 +08:00
FIX: fix the ota version field name
JIRA: STUDIO-5009 Change-Id: I9c28553c8236b57ad02138dcf7b9964dbf23cb25 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
88ed51e11d
commit
f029e43629
@ -2749,7 +2749,7 @@ int MachineObject::parse_json(std::string payload)
|
|||||||
module_vers.emplace(ver_info.name, ver_info);
|
module_vers.emplace(ver_info.name, ver_info);
|
||||||
if (ver_info.name == "ota") {
|
if (ver_info.name == "ota") {
|
||||||
NetworkAgent* agent = GUI::wxGetApp().getAgent();
|
NetworkAgent* agent = GUI::wxGetApp().getAgent();
|
||||||
if (agent) agent->track_update_property("dev_ota_version", ver_info.sw_ver);
|
if (agent) agent->track_update_property("dev_ota_ver", ver_info.sw_ver);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user