Skip to content

Commit 6896c76

Browse files
authored
Merge pull request #6 from jaydons/patch-3
Add batch job name.
2 parents 680662b + adf46ad commit 6896c76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WithExportQueue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function exportQueue(): string
3131
{
3232
$batch = Bus::batch([
3333
new DataTableExportJob(self::class, $this->request->all(), optional($this->request->user())->id),
34-
])->dispatch();
34+
])->name('datatables-export')->dispatch();
3535

3636
return $batch->id;
3737
}
38-
}
38+
}

0 commit comments

Comments
 (0)