Skip to content

Commit f45e71d

Browse files
committed
fix: ensure access token is cast to string before authentication
1 parent 92e5422 commit f45e71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/GithubProjectServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function register(): void
3333

3434
$this->app->singleton(Client::class, function () {
3535
$client = new Client;
36-
$client->authenticate(config('github-project.github.access_token'), null, AuthMethod::ACCESS_TOKEN);
36+
$client->authenticate((string) config('github-project.github.access_token'), null, AuthMethod::ACCESS_TOKEN);
3737

3838
return $client;
3939
});

0 commit comments

Comments
 (0)