Fixes counter for clickhouse alerts not working (#7088)

This commit is contained in:
Matteo Biscosi 2023-03-27 14:13:18 +00:00
parent 60ad82f4df
commit b60204d4fe
2 changed files with 13 additions and 1 deletions

View file

@ -98,7 +98,7 @@ function alert_store_db.dequeueRecipientAlerts(recipient, budget)
if alert.action ~= "engage" then
-- Do not store alerts engaged - they're are handled only in-memory
if(alert) then
if(alert) then
interface.select(string.format("%d", alert.ifid))
local alert_store = get_alert_store(alert.entity_id)