From 3508f4f10f9d69bb07dcd941960b13f23daa6972 Mon Sep 17 00:00:00 2001 From: Jonathan Ingall Date: Wed, 23 Sep 2020 09:24:04 +0100 Subject: [PATCH] Fix bug where 'endpoint' must be set --- src/AzureStorageServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureStorageServiceProvider.php b/src/AzureStorageServiceProvider.php index 9ebbc75..e36a30b 100644 --- a/src/AzureStorageServiceProvider.php +++ b/src/AzureStorageServiceProvider.php @@ -25,7 +25,7 @@ public function boot() $config['name'], $config['key'] ); - if ($config['endpoint'] !== null) { + if (isset($config['endpoint'])) { $endpoint .= sprintf("BlobEndpoint=%s;", $config['endpoint']); } $client = BlobRestProxy::createBlobService($endpoint);