Commit 3c8892aba95de75edb2d0353b2b2a2e89aae4ca3

Authored by Andrew Avenoso
1 parent e73267fc
Exists in master and in 1 other branch production

deploy emails were not being sent if the app was configured to notify all users

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/deploy.rb
@@ -33,7 +33,7 @@ class Deploy @@ -33,7 +33,7 @@ class Deploy
33 protected 33 protected
34 34
35 def should_notify? 35 def should_notify?
36 - app.notify_on_deploys? && app.watchers.any? 36 + app.notify_on_deploys? && app.notification_recipients.any?
37 end 37 end
38 38
39 def should_resolve_app_errs? 39 def should_resolve_app_errs?