We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b392bc1 commit 70db2c2Copy full SHA for 70db2c2
lib/helpers.js
@@ -324,8 +324,9 @@ function attachQueries (request) {
324
}
325
326
// Attach match option.
327
- if (parameter.match(isFilter)) {
328
- const matches = parameter.match(inBrackets) || []
+ else if (parameter.match(isFilter)) {
+ const matches = parameter.match(inBrackets)
329
+ if (!matches) continue
330
const field = inflect(matches[1])
331
const filterType = matches[2]
332
0 commit comments