diff --git a/src/Services/DataTable.php b/src/Services/DataTable.php index 786385b..3d2170c 100644 --- a/src/Services/DataTable.php +++ b/src/Services/DataTable.php @@ -530,7 +530,7 @@ public function csv() } // @phpstan-ignore-next-line - return $this->buildExcelFile()->download($path, $this->csvWriter); + return $excelFile->download($path, $this->csvWriter); } /**