Fix missing memoization in Web::PushNotificationWorker (#36085)
This commit is contained in:
parent
be1bd91e6d
commit
6044270d69
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue