Skip to content

Commit 593e065

Browse files
Review
1 parent 6b8f384 commit 593e065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/src/api/database.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,9 @@ export class Firestore implements PublicFirestore, FirebaseService {
693693
runTransaction<T>(
694694
updateFunction: (transaction: PublicTransaction) => Promise<T>
695695
): Promise<T> {
696-
this.ensureClientConfigured();
696+
const firestoreClient = this.ensureClientConfigured();
697697
return firestoreClientTransaction(
698-
this._firestoreClient!,
698+
firestoreClient,
699699
(transaction: InternalTransaction) => {
700700
return updateFunction(new Transaction(this, transaction));
701701
}

0 commit comments

Comments
 (0)