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