Fix redis cache. (#7625)

This commit is contained in:
Nicolo Maio 2023-08-05 16:22:42 +02:00
parent d468a4223b
commit 89483920a8
4 changed files with 76 additions and 86 deletions

View file

@ -38,7 +38,7 @@ else
del_result = delete_all_hosts_to_scan()
end
if del_result == 1 then
if del_result then
rest_utils.answer(rest_utils.consts.success.ok)
else
rest_utils.answer(rest_utils.consts.err.internal_error)