Skip to content

Commit

Permalink
fixed style cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Telteu committed Mar 1, 2022
1 parent 105d885 commit be5c440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/Http/Controllers/BackupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public function download()
if ($disk->exists($file_name)) {
if (method_exists($disk->getAdapter(), 'getPathPrefix')) {
$storage_path = $disk->getAdapter()->getPathPrefix();

return response()->download($storage_path.$file_name);
} else {
return $disk->download($file_name);
Expand Down

0 comments on commit be5c440

Please sign in to comment.