fix(server): 🐛 wrong error message when no params

This commit is contained in:
Julien Oculi 2024-06-25 17:58:50 +02:00
parent 455d6d6bce
commit f1a70e6cfb

View file

@ -102,7 +102,7 @@ void parseRequestParams(AsyncWebServerRequest &request, String &command, int &va
// Stop here with error message if wrong command
if (!request->hasParam("command"))
{
command = "Not the good command";
command = "No command provided";
return;
}