Fix missing memoization in Web::PushNotificationWorker (#36085)

This commit is contained in:
Claire 2025-09-11 14:32:56 +02:00
parent be1bd91e6d
commit 6044270d69

View File

@ -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