Skip to content

Commit 715c579

Browse files
author
brecht.vermeersch
committed
fix prefix
1 parent 479da70 commit 715c579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AzureStorageBlobServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function boot(): void
2020
Storage::extend('azure-storage-blob', function (Application $app, array $config): FilesystemAdapter {
2121
$serviceClient = BlobServiceClient::fromConnectionString($config['connection_string']);
2222
$containerClient = $serviceClient->getContainerClient($config['container']);
23-
$adapter = new AzureBlobStorageAdapter($containerClient, $config['prefix'] ?? null);
23+
$adapter = new AzureBlobStorageAdapter($containerClient, $config['prefix'] ?? "");
2424

2525
return new FilesystemAdapter(
2626
new Filesystem($adapter, $config),

0 commit comments

Comments
 (0)