replace notification string ids as numbers (#4615, #4630)

This commit is contained in:
gabryon99 2020-10-27 15:31:56 +01:00
parent 80fc2164bd
commit 7dcaed78c5
5 changed files with 45 additions and 36 deletions

View file

@ -11,7 +11,7 @@ local template = require("template_utils")
local defined_notifications = require("defined_notifications")
-- Redis Key used to store the notification status
local REDIS_KEY = "ntopng.user.%s.dismissised_notices.notification_%s"
local REDIS_KEY = "ntopng.user.%s.dismissised_notices.notification_%d"
local notifications_manager = {}
local function notification_has_been_dismissed(notification_id)