From 02c538bbb78d8f426fc664728bc3cf9d31400039 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 28 Aug 2025 17:38:52 +0200 Subject: [PATCH] Run for each tenant --- app/jobs/notification/bundle/deliver_all_job.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/jobs/notification/bundle/deliver_all_job.rb b/app/jobs/notification/bundle/deliver_all_job.rb index cdd6093ce..d2df254f8 100644 --- a/app/jobs/notification/bundle/deliver_all_job.rb +++ b/app/jobs/notification/bundle/deliver_all_job.rb @@ -1,5 +1,7 @@ class Notification::Bundle::DeliverAllJob < ApplicationJob def perform - Notification::Bundle.deliver_all + ApplicationRecord.with_each_tenant do |tenant| + Notification::Bundle.deliver_all + end end end