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
f7289b251f
commit
aacc829dc6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user