Skip to content

Commit 138cc45

Browse files
Update packages/database/src/core/Repo.ts
Co-authored-by: Feiyang <[email protected]>
1 parent c462cc5 commit 138cc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database/src/core/Repo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ function repoRerunTransactionQueue(
12521252

12531253
if (queue[i].onComplete) {
12541254
if (abortReason === 'nodata') {
1255-
const ref = new Reference(this, queue[i].path);
1255+
const ref = new Reference(repo, queue[i].path);
12561256
// We set this field immediately, so it's safe to cast to an actual snapshot
12571257
const lastInput /** @type {!Node} */ = queue[i].currentInputSnapshot;
12581258
const snapshot = new DataSnapshot(lastInput, ref, PRIORITY_INDEX);

0 commit comments

Comments
 (0)