diff options
-rw-r--r-- | app/models/project_services/pipelines_email_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/pipelines_email_service.rb b/app/models/project_services/pipelines_email_service.rb index 4cebb9e7f93..e2cb1df81b5 100644 --- a/app/models/project_services/pipelines_email_service.rb +++ b/app/models/project_services/pipelines_email_service.rb @@ -32,7 +32,7 @@ class PipelinesEmailService < Service return unless all_recipients.any? pipeline_id = data[:object_attributes][:id] - SendPipelineNotificationWorker.perform_async(pipeline_id, all_recipients) + SendPipelineNotificationWorker.new.perform(pipeline_id, all_recipients) end def can_test? |