Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored and github-actions[bot] committed Dec 24, 2024
1 parent 1e1e334 commit acf3410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Classes/FileUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getResponse(Field $field, FieldResponse $resp): string

$disk = Storage::disk(config('zeus-bolt.uploadDisk'));

$getUrl = fn($file) => config('zeus-bolt.uploadVisibility') === 'private'
$getUrl = fn ($file) => config('zeus-bolt.uploadVisibility') === 'private'
? $disk->temporaryUrl($file, now()->addDay())
: $disk->url($file);

Expand Down

0 comments on commit acf3410

Please sign in to comment.