Skip to content

Commit f8bfe89

Browse files
committed
make client singleton
1 parent 32ec6b6 commit f8bfe89

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)