mirror of
https://github.com/luc-github/ESP3D.git
synced 2026-03-22 07:36:52 +01:00
Improve message feedback for [ESP401]
set error message with code 500 instead of 200 fix ??? typo
This commit is contained in:
@@ -166,9 +166,12 @@ bool Commands::ESP401(const char* cmd_params, level_authenticate_type auth_type,
|
||||
#endif //WIFI_FEATURE
|
||||
}
|
||||
if (!response) {
|
||||
output->printERROR ("Incorrect command!");
|
||||
String tmp = "error " + spos;
|
||||
output->printERROR (tmp);
|
||||
|
||||
} else {
|
||||
output->printMSG("ok");
|
||||
String tmp = "ok " + spos;
|
||||
output->printMSG(tmp)
|
||||
}
|
||||
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user