mirror of
https://github.com/mastodon/mastodon.git
synced 2025-10-05 16:42:47 +00:00
Fix missing memoization in Web::PushNotificationWorker
(#36085)
This commit is contained in:
parent
be1bd91e6d
commit
6044270d69
|
@ -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…
Reference in New Issue
Block a user