Quellcode durchsuchen

EAGLESIX-2653: s/matchesBSON/matchesJSON/g - missed one

Chris Sexton vor 11 Jahren
Ursprung
Commit
dd66ef3a5e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      lib/pipeline/matcher/ElemMatchObjectMatchExpression.js

+ 1 - 1
lib/pipeline/matcher/ElemMatchObjectMatchExpression.js

@@ -62,7 +62,7 @@ proto.matchesArray = function matchesArray(anArray, details){
 		var inner = anArray[i];
 		if (!(inner instanceof Object))
 			continue;
-		if (this._sub.matchesBSON(inner, null)) {
+		if (this._sub.matchesJSON(inner, null)) {
 			if (details && details.needRecord()) {
 				details.setElemMatchKey(i);
 			}