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