From 6044270d697924070e992f95241b1e0565a50816 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 11 Sep 2025 14:32:56 +0200 Subject: [PATCH] Fix missing memoization in `Web::PushNotificationWorker` (#36085) --- app/workers/web/push_notification_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/web/push_notification_worker.rb b/app/workers/web/push_notification_worker.rb index 32279a9e74d..e2cebc33157 100644 --- a/app/workers/web/push_notification_worker.rb +++ b/app/workers/web/push_notification_worker.rb @@ -87,7 +87,7 @@ class Web::PushNotificationWorker end def web_push_request - @web_push_request || WebPushRequest.new(@subscription) + @web_push_request ||= WebPushRequest.new(@subscription) end def push_notification_json