Allow empty string field values
This commit is contained in:
parent
952b6763ff
commit
717347fce2
|
@ -247,11 +247,7 @@ func convertField(v interface{}) interface{} {
|
||||||
case int64:
|
case int64:
|
||||||
return v
|
return v
|
||||||
case string:
|
case string:
|
||||||
if v == "" {
|
|
||||||
return nil
|
|
||||||
} else {
|
|
||||||
return v
|
return v
|
||||||
}
|
|
||||||
case bool:
|
case bool:
|
||||||
return v
|
return v
|
||||||
case int:
|
case int:
|
||||||
|
|
Loading…
Reference in New Issue