Skip to content

Commit 8f8ab6c

Browse files
committed
fix: use tmp path on s3
1 parent 077cdf1 commit 8f8ab6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/DataTableExportJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function handle(): void
201201
$writer->close();
202202

203203
if ($this->getS3Disk()) {
204-
Storage::disk($this->getS3Disk())->putFileAs('', (new File($path)), $filename);
204+
Storage::disk($this->getS3Disk())->putFileAs('tmp', (new File($path)), $filename);
205205
}
206206

207207
$emailTo = request('emailTo');

0 commit comments

Comments
 (0)