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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue