Run for each tenant

This commit is contained in:
Jorge Manrubia
2025-08-28 17:38:52 +02:00
parent 5fe66dd602
commit 02c538bbb7
@@ -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