mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
use const char * instead of arduino String
This commit is contained in:
@@ -393,7 +393,7 @@ void EMSESPShell::add_console_commands() {
|
||||
if (return_code == CommandRet::OK && json.size()) {
|
||||
if (json.containsKey("api_data")) {
|
||||
JsonVariant data = json["api_data"];
|
||||
shell.println(data.as<String>());
|
||||
shell.println(data.as<const char *>());
|
||||
return;
|
||||
}
|
||||
serializeJsonPretty(doc, shell);
|
||||
|
||||
Reference in New Issue
Block a user