Skip to content

Commit

Permalink
Update src/core/authorization_request/parameters.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob <[email protected]>
  • Loading branch information
Ryanmtate and cobward authored Nov 25, 2024
1 parent 02f8bad commit 7710f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/authorization_request/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl ClientMetadata {
///
/// See reference: https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#section-5.1-4.2.2.2
pub fn vp_formats(&self) -> Result<VpFormats, Error> {
self.0.get().ok_or(anyhow!("missing vp_formats"))?
self.0.get().parsing_error()?
}

/// OPTIONAL. As defined in [JARM](https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#JARM).
Expand Down

0 comments on commit 7710f23

Please sign in to comment.