Changes for script command for devices: remove UCI and added TIMEOUT.

Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
stephb9959
2022-05-29 09:19:19 -07:00
parent 8f79d70753
commit 285dbacd12
3 changed files with 4 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ namespace OpenWifi {
SCR.script.empty() ||
SCR.type.empty() ||
SCR.scriptId.empty() ||
(SCR.type!="uci" && SCR.type!="shell" && SCR.type!="ucode")) {
(SCR.type!="shell" && SCR.type!="ucode")) {
return BadRequest(RESTAPI::Errors::MissingOrInvalidParameters);
}