chore(deps-dev): Bump vimeo/psalm from 3.7.2 to 3.9.4 (#3664)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Jobs;
|
||||
|
||||
use Illuminate\Http\File;
|
||||
use App\Helpers\StorageHelper;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
@@ -48,7 +49,7 @@ class ExportAccountAsSQL
|
||||
$tempFilePath = disk_adapter('local')->getPathPrefix().$tempFileName;
|
||||
|
||||
// move the file to the public storage
|
||||
return Storage::disk(self::STORAGE)
|
||||
return StorageHelper::disk(self::STORAGE)
|
||||
->putFileAs($this->path, new File($tempFilePath), basename($tempFileName));
|
||||
} finally {
|
||||
// delete old file from temp folder
|
||||
|
||||
Reference in New Issue
Block a user