We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 237ef29 + 593e065 commit d2a4a9fCopy full SHA for d2a4a9f
packages/firestore/src/api/database.ts
@@ -614,9 +614,9 @@ export class Firestore
614
runTransaction<T>(
615
updateFunction: (transaction: PublicTransaction) => Promise<T>
616
): Promise<T> {
617
- ensureFirestoreConfigured(this);
+ const client = ensureFirestoreConfigured(this);
618
return firestoreClientTransaction(
619
- this._firestoreClient!,
+ client,
620
(transaction: InternalTransaction) => {
621
return updateFunction(new Transaction(this, transaction));
622
}
0 commit comments