Skip to content

Commit

Permalink
fix(dataverse): remove graph name from proof opts doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Feb 5, 2024
1 parent f27f3c8 commit 6c6dd60
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions contracts/okp4-dataverse/src/credential/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,16 +221,13 @@ impl<'a> TryFrom<(&'a Dataset<'a>, GraphName<'a>)> for Ed25519Signature2020Proof
options: Dataset::new(
dataset
.match_pattern(None, None, None, Some(Some(proof_graph)))
.skip_pattern(
(
None,
Some(PROOF_RDF_PROOF_VALUE),
None,
Some(Some(proof_graph)),
)
.into(),
)
.map(|quad| *quad)
.skip_pattern((None, Some(PROOF_RDF_PROOF_VALUE), None, None).into())
.map(|quad| Quad {
subject: quad.subject,
predicate: quad.predicate,
object: quad.object,
graph_name: None,
})
.collect(),
),
})
Expand Down

0 comments on commit 6c6dd60

Please sign in to comment.