Skip to content

Commit ee2b308

Browse files
authored
Merge pull request #8 from carandclassic/make-client-singleton
make client singleton
2 parents 32ec6b6 + f8bfe89 commit ee2b308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/TalkJSServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function register(): void
1717
'talkjs'
1818
);
1919

20-
$this->app->bind(
20+
$this->app->singleton(
2121
TalkJSClient::class,
2222
static function ($app, $params) {
2323
$appId = $params['appId'] ?? config('talkjs.app_id');

0 commit comments

Comments
 (0)