Verified Commit bfe6c8c7 authored by Vasili Novikov's avatar Vasili Novikov
Browse files

hack: remove arrays and booleans from input JSON

See memri/pod#94
parent 76c891a1
Showing with 1 addition and 0 deletions
+1 -0
......@@ -38,6 +38,7 @@ pub fn fields_mapping_to_owned_sql_params(
for (field, value) in fields_map {
match value {
Value::Array(_) => continue,
Value::Bool(_) => continue,
_ => ()
};
let field = format!(":{}", field);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment