fix(server): 🐛 wrong error message when no params
This commit is contained in:
parent
455d6d6bce
commit
f1a70e6cfb
|
@ -102,7 +102,7 @@ void parseRequestParams(AsyncWebServerRequest &request, String &command, int &va
|
||||||
// Stop here with error message if wrong command
|
// Stop here with error message if wrong command
|
||||||
if (!request->hasParam("command"))
|
if (!request->hasParam("command"))
|
||||||
{
|
{
|
||||||
command = "Not the good command";
|
command = "No command provided";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue