5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 23:11:42 +00:00
This commit is contained in:
f 2020-04-06 19:03:49 -03:00
parent fa19f1ec96
commit fd4d302e3b
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -45,7 +45,7 @@ class DeployJob < ApplicationJob
end
def notify_usuaries
@site.roles.where(rol: 'usuarie', temporal: false).pluck(:usuaries_id).each do |usuarie|
@site.roles.where(rol: 'usuarie', temporal: false).pluck(:usuarie_id).each do |usuarie|
DeployMailer.with(usuarie: usuarie, site: @site.id)
.deployed(@deployed)
.deliver_now