summaryrefslogtreecommitdiff
path: root/app/workers/export_csv_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/export_csv_worker.rb')
-rw-r--r--app/workers/export_csv_worker.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/export_csv_worker.rb b/app/workers/export_csv_worker.rb
index e7baaf40a41..f2da381a34a 100644
--- a/app/workers/export_csv_worker.rb
+++ b/app/workers/export_csv_worker.rb
@@ -15,8 +15,6 @@ class ExportCsvWorker # rubocop:disable Scalability/IdempotentWorker
params[:project_id] = project_id
params.delete(:sort)
- issues = IssuesFinder.new(@current_user, params).execute
-
- Issues::ExportCsvService.new(issues, @project).email(@current_user)
+ IssuableExportCsvWorker.perform_async(:issue, @current_user.id, @project.id, params)
end
end