summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/store.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.rs b/src/store.rs
index b905eb4..cb35272 100644
--- a/src/store.rs
+++ b/src/store.rs
@@ -97,7 +97,7 @@ fn resolved_to_json(
let maps = match resolved {
Resolved::Maps(maps) => maps,
Resolved::Other(Value::Scalar(scalar), _) => {
- return Ok(scalar_to_json(scalar.clone().into_owned())?)
+ return scalar_to_json(scalar.clone().into_owned())
}
Resolved::Other(Value::Object(_), id) => return object_to_json(doc, id, log),
};