Skip to content

Commit

Permalink
Fixes #36329: Read UI notification cache as JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Aug 7, 2023
1 parent 7c41286 commit 16cd6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/ui_notifications/cache_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16cd6d6

Please sign in to comment.