Skip to content

Commit 7ccc471

Browse files
Revernt init
1 parent 17fb188 commit 7ccc471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database/src/core/AppCheckTokenProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class AppCheckTokenProvider {
3636
) {
3737
this.appCheck = appCheckProvider?.getImmediate({ optional: true });
3838
if (!this.appCheck) {
39-
appCheckProvider?.onInit(appCheck => (this.appCheck = appCheck));
39+
appCheckProvider?.get().then(appCheck => (this.appCheck = appCheck));
4040
}
4141
}
4242

0 commit comments

Comments
 (0)