diff --git a/src/Http/Services/FileManagerService.php b/src/Http/Services/FileManagerService.php index 16fed9e..222597e 100644 --- a/src/Http/Services/FileManagerService.php +++ b/src/Http/Services/FileManagerService.php @@ -187,7 +187,9 @@ public function uploadFile($file, $currentFolder, $visibility, $uploadingFolder $fileName = $this->namingStrategy->name($currentFolder, $file); if ($this->storage->putFileAs($currentFolder, $file, $fileName)) { - $this->setVisibility($currentFolder, $fileName, $visibility); + if ($this->disk != 'dropbox'){ + $this->setVisibility($currentFolder, $fileName, $visibility); + } if (! $uploadingFolder) { $this->checkJobs($this->storage, $currentFolder.$fileName);