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

This commit is contained in:
Claire 2025-09-11 14:32:56 +02:00 committed by GitHub
parent f7289b251f
commit aacc829dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,7 @@ class Web::PushNotificationWorker
end end
def web_push_request def web_push_request
@web_push_request || WebPushRequest.new(@subscription) @web_push_request ||= WebPushRequest.new(@subscription)
end end
def push_notification_json def push_notification_json