Run for each tenant
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user