empty json instead of "no entries"

This commit is contained in:
MichaelDvP
2023-09-19 19:46:46 +02:00
parent 951e706fee
commit 4824152ae5
4 changed files with 6 additions and 6 deletions

View File

@@ -144,7 +144,7 @@ bool WebSchedulerService::get_value_info(JsonObject & output, const char * cmd)
return true;
}
if (scheduleItems->size() == 0) {
output["message"] = "no entries";
// output["message"] = "no entries";
return true;
}
if (strlen(cmd) == 0 || Helpers::toLower(cmd) == F_(values) || Helpers::toLower(cmd) == F_(info)) {