|
|
@ -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) { |
|
|
|