Allow empty string field values

This commit is contained in:
Daniel Nelson 2018-03-30 16:57:35 -07:00
parent a971ffb880
commit 7e3ec16e15
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 5 deletions

View File

@ -247,11 +247,7 @@ func convertField(v interface{}) interface{} {
case int64:
return v
case string:
if v == "" {
return nil
} else {
return v
}
return v
case bool:
return v
case int: