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 ce396f7 commit 323203aCopy full SHA for 323203a
src/ServiceProvider.php
@@ -33,8 +33,7 @@ private function registerComponents()
33
$config = $app->make('config')['firebase'];
34
35
if ($credentialsFile = $config['credentials']['file'] ?? null) {
36
- $serviceAccount = Firebase\ServiceAccount::fromJsonFile((string) $credentialsFile);
37
- $factory = $factory->withServiceAccount($serviceAccount);
+ $factory = $factory->withServiceAccount((string) $credentialsFile);
38
}
39
40
$enableAutoDiscovery = $config['credentials']['auto_discovery'] ?? true;
0 commit comments