This commit is contained in:
Mel O'Hagan 2022-08-10 10:58:11 +01:00
parent 334d9a956d
commit 9ce34aa4c0
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ module MongoDBModule {
let i = 0 let i = 0
let startIndex = 0 let startIndex = 0
for (let c of params) { for (let c of params) {
if (c === '"' && (i > 0 && params[i-1] !== '\\')) { if (c === '"' && i > 0 && params[i - 1] !== "\\") {
inQuotes = !inQuotes inQuotes = !inQuotes
} }
if (c === "{" && !inQuotes) { if (c === "{" && !inQuotes) {