mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19: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
|
// run a test
|
||||||
// e.g. http://ems-esp/api?device=system&cmd=test&data=boiler
|
// e.g. http://ems-esp/api?device=system&cmd=test&data=boiler
|
||||||
bool System::command_test(const char * value, const int8_t id) {
|
bool System::command_test(const char * value, const int8_t id) {
|
||||||
Test::run_test(value, id);
|
return (Test::run_test(value, id));
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user