fix bug on querying graph with commit ID

master
Niko PLP 2 weeks ago
parent 19123c97bf
commit c7efa08ae3
  1. 2
      ng-oxigraph/src/oxigraph/storage/mod.rs

@ -808,7 +808,7 @@ impl StorageReader {
heads: HashSet::from_iter( heads: HashSet::from_iter(
commits commits
.into_iter() .into_iter()
.map(|c| StrHash::new(&format!("{DID_PREFIX}:c:{c}:v:{overlay}"))), .map(|c| { let s = format!("{DID_PREFIX}{c}:v:{overlay}"); StrHash::new(&s) }),
), ),
at_current_heads: false, at_current_heads: false,
original_graph_name, original_graph_name,

Loading…
Cancel
Save