Skip to content

Commit

Permalink
Update BlueskyServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kawax committed Aug 25, 2024
1 parent 73633d9 commit adcd7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlueskyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class BlueskyServiceProvider extends ServiceProvider
{
public function register(): void
{
$this->app->singleton(Factory::class, fn () => new BlueskyClient(config('bluesky.service', 'https://bsky.social')));
$this->app->scoped(Factory::class, fn () => new BlueskyClient(config('bluesky.service', 'https://bsky.social')));

if (! $this->app->configurationIsCached()) {
$this->mergeConfigFrom(__DIR__.'/../config/bluesky.php', 'bluesky');
Expand Down

0 comments on commit adcd7d0

Please sign in to comment.