Skip to content

Commit

Permalink
fix: status list VS as JSON-LD
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-vavdiya committed Sep 6, 2024
1 parent 643493d commit 65dd812
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ public class IssuersCredentialControllerApiDocs {

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Tag(name = API_TAG_VERIFIABLE_CREDENTIAL_VALIDATION)
@ApiResponses(value = {
@ApiResponse(responseCode = "401", description = "The request could not be completed due to a failed authorization.", content = {
@Content(examples = {}) }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public VerifiableCredential signStatusListVC(VerifiableCredential vc, String tok
UriComponentsBuilder.fromHttpUrl(miwUrl)
.path("/api/credentials")
.queryParam(StringPool.REVOCABLE, "false")
.queryParam(StringPool.AS_JWT, "false")
.build()
.toUriString();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void revoke(CredentialStatusDto dto, String token) throws RevocationServi
newSubject =
StatusListCredentialSubject.builder()
.id((String) subjectCredential.get(StatusListCredentialSubject.SUBJECT_ID))
.type(StatusListCredentialSubject.TYPE_LIST)
.type(StatusListCredentialSubject.TYPE_CREDENTIAL)
.statusPurpose(
(String) subjectCredential.get(StatusListCredentialSubject.SUBJECT_STATUS_PURPOSE))
.encodedList(newEncodedList)
Expand Down

0 comments on commit 65dd812

Please sign in to comment.