fixed issue in backblaze connection test

This commit is contained in:
Čarodej
2022-04-21 08:28:40 +02:00
parent 5b130d01af
commit ca76463fab
2 changed files with 9 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
<?php
return [
'version' => '2.0.18',
'version' => '2.0.18.1',
'is_demo' => env('APP_DEMO', false),

View File

@@ -1,4 +1,5 @@
<?php
namespace Domain\Settings\Actions;
use Storage;
@@ -14,12 +15,13 @@ class TestS3ConnectionAction
// Set temporary s3 connection
config([
'filesystems.disks.s3' => [
'driver' => 's3',
'key' => $credentials->key,
'secret' => $credentials->secret,
'region' => $credentials->region,
'bucket' => $credentials->bucket,
'endpoint' => $credentials->endpoint,
'driver' => 's3',
'key' => $credentials->key,
'secret' => $credentials->secret,
'region' => $credentials->region,
'bucket' => $credentials->bucket,
'endpoint' => $credentials->endpoint,
'visibility' => 'private',
],
]);