v0.3.3
This commit is contained in:
@@ -52,6 +52,7 @@ async fn inner_read(req: Request<Body>) -> XResult<(StatusCode, Value)> {
|
||||
|
||||
let mut map = byte_to_multi_view_map(&data.0);
|
||||
map.insert("name".to_string(), Value::String(name.to_string()));
|
||||
map.insert("comment".to_string(), db_key_value.comment.map(|c| Value::String(c)).unwrap_or(Value::Null));
|
||||
serve_common::ok(Value::Object(map))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user