Skip to content
Snippets Groups Projects
Commit 20306f9e authored by Leonardo's avatar Leonardo
Browse files

fix: allow for insight to be send even with no alarmMode set

parent 02e6d56c
No related branches found
No related tags found
No related merge requests found
Pipeline #143612 passed
...@@ -52,7 +52,7 @@ export const insightProcessor = async () => { ...@@ -52,7 +52,7 @@ export const insightProcessor = async () => {
return; return;
} }
if (insight.alarmMode === "disabled") { if (insight.alarmMode === "disabled" && !message.force) {
log.debug("Alarm mode is disabled", insight.id); log.debug("Alarm mode is disabled", insight.id);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment