Fix missing memoization in Web::PushNotificationWorker (#36085)
This commit is contained in:
1 parent
f7289b251f
commit
aacc829dc6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user