Skip to content

Commit f0e46d6

Browse files
committed
Wrong variable
_indexHandle was using a wrong variable on its `typeof` test
1 parent d0f4caa commit f0e46d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class BaseCollection {
3636
}
3737

3838
_indexHandle (indexHandle) {
39-
if (typeof documentHandle !== 'string') {
39+
if (typeof indexHandle !== 'string') {
4040
if (indexHandle.id) {
4141
return indexHandle.id
4242
}

0 commit comments

Comments
 (0)