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