From aacc829dc65fb465c32692984899a83797ee18d3 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 f9b1dc4f1..a1f4e4669 100644 --- a/app/workers/web/push_notification_worker.rb +++ b/app/workers/web/push_notification_worker.rb @@ -96,7 +96,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