Skip to content

Commit

Permalink
fix: Fix service provider definition
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed May 26, 2023
1 parent 5da4eee commit 8a5289f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/GoogleIapServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ protected function extendComponents(AuthManager $auth): void
fn (Container $app, string $name, array $config) => (new GoogleIapGuard(
$app->make('request'),
$auth->createUserProvider($config['provider'] ?? null),
$app->make(GoogleIdTokenVerifier::class),
$app->make(GoogleUserResolver::class),
$config['services']['google-iap'],
))
->setProvider(Assert::nonNull($auth->createUserProvider($config['provider'] ?? null))),
);
Expand Down

0 comments on commit 8a5289f

Please sign in to comment.