Skip to content

Commit 1607876

Browse files
committed
Merge pull request #232 from fantoine/patch-1
Wrong variable
2 parents d0f4caa + f0e46d6 commit 1607876

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)