diff --git a/app/models/project_services/pipelines_email_service.rb b/app/models/project_services/pipelines_email_service.rb index e133b1696da..701b879a73e 100644 --- a/app/models/project_services/pipelines_email_service.rb +++ b/app/models/project_services/pipelines_email_service.rb @@ -89,8 +89,8 @@ class PipelinesEmailService < Service if add_pusher? && data[:user].try(:[], :email) all_recipients << data[:user][:email] - else - all_recipients end + + all_recipients end end