Address all team members, instead of only direct members

parent 3a42051d
......@@ -15,7 +15,7 @@ class AdminEmailsWorker
when /group-(\d+)\z/
Group.find($1).users.subscribed_for_admin_email
when /project-(\d+)\z/
Project.find($1).users.subscribed_for_admin_email
Project.find($1).team.users.subscribed_for_admin_email
end
end
end
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment