File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/firestore/src/api Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -632,10 +632,10 @@ export class EmptyAppCheckTokenProvider implements CredentialsProvider<string> {
632
632
/** AppCheck token provider for the Lite SDK. */
633
633
export class LiteAppCheckTokenProvider implements CredentialsProvider < string > {
634
634
private appCheck : FirebaseAppCheckInternal | null = null ;
635
- private serverAppAppCheckToken ? : string ;
635
+ private serverAppAppCheckToken : string | null = null ;
636
636
637
637
constructor (
638
- private app : FirebaseApp ,
638
+ app : FirebaseApp ,
639
639
private appCheckProvider : Provider < AppCheckInternalComponentName >
640
640
) {
641
641
if ( _isFirebaseServerApp ( app ) && app . settings . appCheckToken ) {
@@ -647,7 +647,7 @@ export class LiteAppCheckTokenProvider implements CredentialsProvider<string> {
647
647
}
648
648
649
649
getToken ( ) : Promise < Token | null > {
650
- if ( this . serverAppAppCheckToken ) {
650
+ if ( this . serverAppAppCheckToken !== null ) {
651
651
return Promise . resolve ( new AppCheckToken ( this . serverAppAppCheckToken ) ) ;
652
652
}
653
653
You can’t perform that action at this time.
0 commit comments