Skip to content

Commit 3ec5995

Browse files
committed
properly reference static method
1 parent bccdb16 commit 3ec5995

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Adapters/Storage/Mongo/MongoCollection.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ export default class MongoCollection {
113113
}
114114

115115
if (caseInsensitive) {
116-
findOperation = findOperation.collation(this.caseInsensitiveCollation());
116+
findOperation = findOperation.collation(
117+
MongoCollection.caseInsensitiveCollation()
118+
);
117119
}
118120

119121
if (maxTimeMS) {

0 commit comments

Comments
 (0)