Transferring to CDN, not Uploading

This commit is contained in:
2023-09-10 20:13:12 +10:00
parent 47ea87b614
commit 5cee36453e
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class StoreUploadedFileJob implements ShouldQueue
$fileName = $this->media->name; $fileName = $this->media->name;
try { try {
$this->media->status = "Uploading to CDN"; $this->media->status = "Transferring to CDN";
$this->media->save(); $this->media->save();
// convert HEIC file // convert HEIC file

View File

@@ -709,7 +709,7 @@ class Media extends Model
/** @var Illuminate\Filesystem\FilesystemAdapter */ /** @var Illuminate\Filesystem\FilesystemAdapter */
$fileSystem = Storage::disk($this->storage); $fileSystem = Storage::disk($this->storage);
// if ($silent === false) { // if ($silent === false) {
// $this->status('Uploading to CDN'); // $this->status('Transferring to CDN');
// } // }
$fileSystem->putFileAs('/', $this->stagingFilePath, $this->name); $fileSystem->putFileAs('/', $this->stagingFilePath, $this->name);
} }