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 17fb188 commit 7ccc471Copy full SHA for 7ccc471
packages/database/src/core/AppCheckTokenProvider.ts
@@ -36,7 +36,7 @@ export class AppCheckTokenProvider {
36
) {
37
this.appCheck = appCheckProvider?.getImmediate({ optional: true });
38
if (!this.appCheck) {
39
- appCheckProvider?.onInit(appCheck => (this.appCheck = appCheck));
+ appCheckProvider?.get().then(appCheck => (this.appCheck = appCheck));
40
}
41
42
0 commit comments