Update import job

This commit is contained in:
Daniel Supernault 2021-04-29 23:52:59 -06:00
parent f25452ea1a
commit 40f9aa6055
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -103,7 +103,7 @@ class ImportInstagram implements ShouldQueue
$storagePath = "public/m/{$monthHash}/{$userHash}";
$dir = "app/$storagePath";
if(!is_dir(storage_path($dir))) {
mkdir(storage_path($dir), 0777, true);
mkdir(storage_path($dir), 0755, true);
}
$newPath = "$dir/$filename";
$fs->move($path,storage_path($newPath));