Skip to content

Commit

Permalink
Fix empty prefix config
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed May 2, 2022
1 parent 1b15fe8 commit 4b3c887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElementsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 4b3c887

Please sign in to comment.