We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab9e204 commit e3478deCopy full SHA for e3478de
src/PassportServiceProvider.php
@@ -249,9 +249,9 @@ protected function registerJWTParser()
249
*/
250
protected function registerResourceServer()
251
{
252
- $this->app->singleton(ResourceServer::class, function () {
+ $this->app->singleton(ResourceServer::class, function ($container) {
253
return new ResourceServer(
254
- $this->app->make(Bridge\AccessTokenRepository::class),
+ $container->make(Bridge\AccessTokenRepository::class),
255
$this->makeCryptKey('public')
256
);
257
});
0 commit comments