filter bug fix

This commit is contained in:
2025-03-20 15:49:52 +05:30
parent f8d99b6389
commit 728b8485f9
2 changed files with 1 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ export function parse(query: string, validFields: Array<string>): ParsedQuery {
}
if (char === "]") {
valueArr.push(token);
valueArr.push(convertValue(token));
result.push({
[field]: { [op === "$eq" ? "$in" : "$nin"]: valueArr },
});