Skip to content

Commit

Permalink
[INJICERT-41] ignore format in draft13 CredentialResponse
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Vardhan <[email protected]>
  • Loading branch information
vharsh committed Jun 4, 2024
1 parent 5ab2e0a commit 40858d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class CredentialResponse<T> {
/**
* JSON string denoting the format of the issued Credential.
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
private String format;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,6 @@ private VCIssuanceTransaction createVCITransaction() {
}

public static boolean isV13OrAbove(String v) {
return v.equals(("v13")) || v.equals("latest");
return v.equals("v13") || v.equals("latest");
}
}

0 comments on commit 40858d8

Please sign in to comment.