diff --git a/app/workers/web/push_notification_worker.rb b/app/workers/web/push_notification_worker.rb index f9b1dc4f19..a1f4e46690 100644 --- a/app/workers/web/push_notification_worker.rb +++ b/app/workers/web/push_notification_worker.rb @@ -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