Commit dcd964f9 authored by anton's avatar anton
Browse files

Eslint fix

parent 5f7e2698
......@@ -2,9 +2,9 @@ function searchRegex () {
return function (hook) {
const query = hook.params.query
const transform = query => {
for (let field in query) {
for (const field in query) {
if (Array.isArray(query[field])) {
for (let i in query[field]) {
for (const i in query[field]) {
query[field][i] = transform(query[field][i])
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment