From f1a70e6cfb2b53e8c116d7e895171a600f9030e7 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 25 Jun 2024 17:58:50 +0200 Subject: [PATCH] fix(server): :bug: wrong error message when no params --- server/commande_telephone.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/commande_telephone.ino b/server/commande_telephone.ino index 590eea3..607c752 100644 --- a/server/commande_telephone.ino +++ b/server/commande_telephone.ino @@ -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; }