Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Jan 17, 2025
1 parent 0535173 commit 9234617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public static function uploadAs(string $key, string $destination, string $name,
$fileExtension = pathinfo($_FILES[$key]['name'], PATHINFO_EXTENSION);

$config['rename'] = true;
$config['name'] = $name . '.' . $fileExtension;
$config['name'] = "$name.$fileExtension";

return static::upload($key, $destination, $config);
}
Expand Down

0 comments on commit 9234617

Please sign in to comment.