diff --git a/src/WithExportQueue.php b/src/WithExportQueue.php index be46fad..c0ec660 100644 --- a/src/WithExportQueue.php +++ b/src/WithExportQueue.php @@ -36,7 +36,7 @@ public function render(?string $view = null, array $data = [], array $mergeData public function exportQueue(): string { $job = new DataTableExportJob( - [self::class, $this->attributes], + [get_class($this), $this->attributes], request()->all(), Auth::id() ?? 0, $this->sheetName(),