diff --git a/src/WithExportQueue.php b/src/WithExportQueue.php index 8045bff..72329db 100644 --- a/src/WithExportQueue.php +++ b/src/WithExportQueue.php @@ -31,8 +31,8 @@ public function exportQueue(): string { $batch = Bus::batch([ new DataTableExportJob(self::class, $this->request->all(), optional($this->request->user())->id), - ])->dispatch(); + ])->name('datatables-export')->dispatch(); return $batch->id; } -} \ No newline at end of file +}