mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 05:06:22 +00:00
fixup! BREAKING CHANGE: usar global ids en los jobs
This commit is contained in:
parent
b0bf0c0c53
commit
53fe2847a1
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class DeployJob < ApplicationJob
|
||||||
usuarie_ids = site.roles.where(rol: 'usuarie', temporal: false).pluck(:usuarie_id)
|
usuarie_ids = site.roles.where(rol: 'usuarie', temporal: false).pluck(:usuarie_id)
|
||||||
|
|
||||||
Usuarie.where(id: usuarie_ids).find_each do |usuarie|
|
Usuarie.where(id: usuarie_ids).find_each do |usuarie|
|
||||||
DeployMailer.with(usuarie_id: usuarie, site: site)
|
DeployMailer.with(usuarie: usuarie, site: site)
|
||||||
.deployed(@deployed)
|
.deployed(@deployed)
|
||||||
.deliver_now
|
.deliver_now
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue