From 16cd6d6220d719f5011ff3030d2b4bea41f684e9 Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Mon, 7 Aug 2023 16:33:36 +0000 Subject: [PATCH] Fixes #36329: Read UI notification cache as JSON --- app/services/ui_notifications/cache_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/ui_notifications/cache_handler.rb b/app/services/ui_notifications/cache_handler.rb index b295859402d..31b2ef2ace5 100644 --- a/app/services/ui_notifications/cache_handler.rb +++ b/app/services/ui_notifications/cache_handler.rb @@ -7,7 +7,7 @@ def initialize(user_id = User.current.try(:id)) # JSON Payload def payload - result = cache.read(cache_key) + result = cache.read(cache_key, raw: true) if result logger.debug("Cache Hit: notification, reading cache for #{cache_key}") return result