Skip to content

Commit

Permalink
Merge branch 'nanderstabel/issue124' into feat/sd-jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
nanderstabel committed Oct 16, 2024
2 parents 0fce875 + 007e986 commit 7eaa0ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions agent_api_rest/src/holder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@ pub fn router(holder_state: HolderState) -> Router {
.route("/holder/offers/:offer_id/reject", post(reject)),
)
.route("/openid4vci/offers", post(openid4vci::offers))
.route(
"/linked-verifiable-presentations/:presentation_id",
get(presentation_signed),
)
.with_state(holder_state)
}
2 changes: 1 addition & 1 deletion agent_identity/src/service/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl Aggregate for Service {
.into_iter()
.map(|presentation_id| {
// TODO: Find a better way to construct the URL
format!("{origin}v0/holder/presentations/{presentation_id}/signed")
format!("{origin}linked-verifiable-presentations/{presentation_id}")
.parse::<identity_core::common::Url>()
})
.collect::<Result<Vec<_>, _>>()
Expand Down

0 comments on commit 7eaa0ba

Please sign in to comment.