Skip to content

Commit c5f931a

Browse files
authored
idb.allDocs(): reference keys consistently (#8578)
1 parent 102b303 commit c5f931a

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/pouchdb-adapter-idb/src

1 file changed

+1
-1
lines changed

packages/node_modules/pouchdb-adapter-idb/src/allDocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function idbAllDocs(opts, idb, callback) {
239239
return;
240240
}
241241
if (keys) {
242-
return allDocsKeys(opts.keys, docStore, onBatch);
242+
return allDocsKeys(keys, docStore, onBatch);
243243
}
244244
if (limit === -1) { // just fetch everything
245245
return getAll(docStore, keyRange, onGetAll);

0 commit comments

Comments
 (0)