Skip to content

Commit 56c6f3e

Browse files
committed
1.0.2
1 parent 9dd1cd8 commit 56c6f3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TOSServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class TOSServiceProvider extends ServiceProvider
2424
*/
2525
public function boot(): void
2626
{
27-
$this->app->make('filesystem')->extend('oss', function ($app, $config) {
27+
$this->app->make('filesystem')->extend('tos', function ($app, $config) {
2828
$root = (string) ($config['root'] ?? '');
2929
$config['directory_separator'] = '/';
3030
$visibility = new PortableVisibilityConverter($config['visibility'] ?? Visibility::PUBLIC);
31-
if($config['accessKey'] && $config['accessSecret']) {
31+
if($config['access_key'] && $config['access_secret']) {
3232
$client = new TosClient($config['region'], $config['access_key'], $config['access_secret'],
3333
$config['endpoint']);
3434
} else {

0 commit comments

Comments
 (0)