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> {
632632/** AppCheck token provider for the Lite SDK. */
633633export class LiteAppCheckTokenProvider implements CredentialsProvider < string > {
634634 private appCheck : FirebaseAppCheckInternal | null = null ;
635- private serverAppAppCheckToken ? : string ;
635+ private serverAppAppCheckToken : string | null = null ;
636636
637637 constructor (
638- private app : FirebaseApp ,
638+ app : FirebaseApp ,
639639 private appCheckProvider : Provider < AppCheckInternalComponentName >
640640 ) {
641641 if ( _isFirebaseServerApp ( app ) && app . settings . appCheckToken ) {
@@ -647,7 +647,7 @@ export class LiteAppCheckTokenProvider implements CredentialsProvider<string> {
647647 }
648648
649649 getToken ( ) : Promise < Token | null > {
650- if ( this . serverAppAppCheckToken ) {
650+ if ( this . serverAppAppCheckToken !== null ) {
651651 return Promise . resolve ( new AppCheckToken ( this . serverAppAppCheckToken ) ) ;
652652 }
653653
You can’t perform that action at this time.
0 commit comments