mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
test returns Ok or Invalid when called from web
This commit is contained in:
@@ -1089,8 +1089,7 @@ bool System::command_report(const char * value, const int8_t id, JsonObject & js
|
||||
// run a test
|
||||
// e.g. http://ems-esp/api?device=system&cmd=test&data=boiler
|
||||
bool System::command_test(const char * value, const int8_t id) {
|
||||
Test::run_test(value, id);
|
||||
return true;
|
||||
return (Test::run_test(value, id));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user