changed redis key for toasts (#4706)

This commit is contained in:
gabryon99 2020-11-23 17:16:03 +01:00
parent a5f74410f8
commit 2da14e59ea
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ local defined_toasts = require("defined_toasts")
local MAX_NON_PRIORITY_TOASTS_TO_SHOW = 1
-- Redis Key used to store the toast status
local REDIS_KEY = "ntopng.user.%s.dismissed_notifications.notification_%d"
local REDIS_KEY = "ntopng.user.%s.dismissed_toasts.toast_%d"
local toats_manager = {}
local function toast_has_been_dismissed(toast_id)