File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/firestore/src/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ export class Firestore
561
561
562
562
INTERNAL = {
563
563
delete : async ( ) : Promise < void > => {
564
- if ( this . _firestoreClient ) {
564
+ if ( ! this . _firestoreClient ) {
565
565
// The client must be initialized to ensure that all subsequent API
566
566
// usage throws an exception.
567
567
configureFirestore ( this ) ;
@@ -648,7 +648,7 @@ export function configureFirestore(firestore: FirestoreCompat): void {
648
648
debugAssert ( ! ! settings . host , 'FirestoreSettings.host is not set' ) ;
649
649
debugAssert (
650
650
! firestore . _firestoreClient ,
651
- 'configureFirestoreClient () called multiple times'
651
+ 'configureFirestore () called multiple times'
652
652
) ;
653
653
654
654
const databaseInfo = new DatabaseInfo (
You can’t perform that action at this time.
0 commit comments