5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:06:22 +00:00

fixup! BREAKING CHANGE: usar global ids en los jobs

This commit is contained in:
f 2024-04-10 13:22:17 -03:00
parent b0bf0c0c53
commit 53fe2847a1
No known key found for this signature in database

View file

@ -129,7 +129,7 @@ class DeployJob < ApplicationJob
usuarie_ids = site.roles.where(rol: 'usuarie', temporal: false).pluck(:usuarie_id)
Usuarie.where(id: usuarie_ids).find_each do |usuarie|
DeployMailer.with(usuarie_id: usuarie, site: site)
DeployMailer.with(usuarie: usuarie, site: site)
.deployed(@deployed)
.deliver_now
end