Skip to content

Commit d2a4a9f

Browse files
Merge
2 parents 237ef29 + 593e065 commit d2a4a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/src/api/database.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,9 +614,9 @@ export class Firestore
614614
runTransaction<T>(
615615
updateFunction: (transaction: PublicTransaction) => Promise<T>
616616
): Promise<T> {
617-
ensureFirestoreConfigured(this);
617+
const client = ensureFirestoreConfigured(this);
618618
return firestoreClientTransaction(
619-
this._firestoreClient!,
619+
client,
620620
(transaction: InternalTransaction) => {
621621
return updateFunction(new Transaction(this, transaction));
622622
}

0 commit comments

Comments
 (0)