Skip to content
Snippets Groups Projects
Unverified Commit 7e3ec16e authored by Daniel Nelson's avatar Daniel Nelson
Browse files

Allow empty string field values

parent a971ffb8
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment