@go-mailer/jarvis 5.0.13 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/query.js +1 -1
- package/package.json +1 -1
package/lib/query.js
CHANGED
|
@@ -36,7 +36,7 @@ const buildQuery = (options) => {
|
|
|
36
36
|
delete options.sum
|
|
37
37
|
|
|
38
38
|
Object.keys(options).forEach((field) => {
|
|
39
|
-
const field_value = options[field] ? options[field].toString()
|
|
39
|
+
const field_value = options[field] ? options[field].toString() : ''
|
|
40
40
|
let condition
|
|
41
41
|
|
|
42
42
|
if (field_value.includes(':')) {
|