Remove regex
This commit is contained in:
parent
ea94983e69
commit
988bc12dea
|
@ -230,7 +230,7 @@ class QueryBuilder {
|
|||
build(this.query.oneOf, (key, value) => {
|
||||
if (!Array.isArray(value)) {
|
||||
if (typeof value === "string") {
|
||||
value = value.replace(/(\s)*,(\s)*/g, ",").split(",")
|
||||
value = value.split(",")
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue