This commit is contained in:
proddy
2024-09-19 18:38:36 +02:00
parent e0130638c3
commit 5b1493b940
3 changed files with 5 additions and 4 deletions

View File

@@ -552,7 +552,7 @@ static void setup_commands(std::shared_ptr<Commands> & commands) {
if (return_code == CommandRet::OK) {
if (json.size()) {
if (json["api_data"].is<String>()) {
if (json["api_data"].is<std::string>()) {
String data = json["api_data"];
shell.println(data.c_str());
return;