Skip to content

Commit

Permalink
Fix: Correct API endpoint mismatch in CredentialController (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinari4 authored Nov 1, 2024
1 parent f66f30c commit 5e0c24a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public GetCredentialResult getCredentialWithCredentialId(
@PathVariable("id") String credentialId) {

UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.fromUriString(getDeleteCredentialsUri);
URI uri = uriComponentsBuilder.path(credentialId)
URI uri = uriComponentsBuilder.pathSegment(credentialId)
.queryParam("rpId", rpId)
.build().toUri();

Expand Down Expand Up @@ -112,7 +112,7 @@ public BaseResponse deleteCredentialWithCredentialId(
@PathVariable("id") String credentialId) {

UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.fromUriString(getDeleteCredentialsUri);
URI uri = uriComponentsBuilder.path(credentialId)
URI uri = uriComponentsBuilder.pathSegment(credentialId)
.queryParam("rpId", rpId)
.build().toUri();

Expand Down

0 comments on commit 5e0c24a

Please sign in to comment.