From 4b3c8875f167be18a2f861696838c0476c7421a3 Mon Sep 17 00:00:00 2001 From: Martin Zurowietz Date: Mon, 2 May 2022 11:27:15 +0200 Subject: [PATCH] Fix empty prefix config --- src/ElementsServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElementsServiceProvider.php b/src/ElementsServiceProvider.php index 6c41018..7e702ea 100644 --- a/src/ElementsServiceProvider.php +++ b/src/ElementsServiceProvider.php @@ -25,7 +25,7 @@ public function boot() 'Authorization' => 'Bearer '.$config['token'], ], ]); - $adapter = new ElementsAdapter($client, $config['prefix'] ?? null); + $adapter = new ElementsAdapter($client, $config['prefix'] ?? ''); return new FilesystemAdapter(new Filesystem($adapter), $adapter, $config); });