Fix typo in device commands

This commit is contained in:
Lorow
2025-05-28 22:53:43 +02:00
parent b5c6bc3765
commit 39002e2335

View File

@@ -46,7 +46,7 @@ CommandResult updateOTACredentialsCommand(std::shared_ptr<DependencyRegistry> re
}
}
if (const auto OTAPasswordObject = cJSON_GetObjectItem(parsedJson, s"password"); OTAPasswordObject != nullptr) {
if (const auto OTAPasswordObject = cJSON_GetObjectItem(parsedJson, "password"); OTAPasswordObject != nullptr) {
OTAPassword = OTAPasswordObject->valuestring;
}