Skip to content

Commit

Permalink
Don’t require filter in readChangesFile
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Feb 14, 2024
1 parent abc3a6c commit 1be08c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/lake/changes-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function readPage(buffer) {
return result;
}

async function *readChangesFile(inPath, { accountId, keyPrefix, blockHeight }) {
async function *readChangesFile(inPath, { accountId, keyPrefix, blockHeight } = {}) {
const file = await open(inPath, 'r');
try {
const buffer = Buffer.alloc(PAGE_SIZE);
Expand Down

0 comments on commit 1be08c6

Please sign in to comment.