Fixed broken iec104 REST, added missing params error code #9001 (#9002)

This commit is contained in:
GabrieleDeri 2025-02-26 14:35:24 +01:00 committed by GitHub
parent ff50067a3b
commit 3e13ef3f06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 17 additions and 3 deletions

View file

@ -35,7 +35,7 @@ if not auth.has_capability(auth.capabilities.alerts) then
end
if not checks.isCheckEnabled("host", "external_host_script") then
rest_utils.answer(rest_utils.consts.err.not_enabled)
rest_utils.answer(rest_utils.consts.err.not_enabled, { "Please enable external_host_script in behavioural checks"})
return
end