From a83064ed9751ea63b7f3d5893a3f823fc048cc1b Mon Sep 17 00:00:00 2001 From: James Date: Wed, 4 Nov 2020 09:08:27 -0500 Subject: [PATCH] lints buildQuery --- src/mongoose/buildQuery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongoose/buildQuery.js b/src/mongoose/buildQuery.js index e23acd3f28..393baa4a27 100644 --- a/src/mongoose/buildQuery.js +++ b/src/mongoose/buildQuery.js @@ -177,7 +177,7 @@ class ParamParser { } if (schemaObject && schemaObject.ref && val === 'null') { - val = null; + formattedValue = null; } if (operator && validOperators.includes(operator)) {