File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/java/com/danubetech/verifiablecredentials Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ public void validate() throws IllegalStateException {
296296 validateRun (() -> { validateTrue (this .getIssuer () != null ); }, "Bad or missing 'issuer'." );
297297 validateRun (() -> { validateTrue (this .getIssuanceDate () != null ); }, "Bad or missing 'issuanceDate'." );
298298 validateRun (() -> { this .getExpirationDate (); }, "Bad 'expirationDate'." );
299- validateRun (() -> { validateTrue ( this .getCredentialSubject () != null ); }, "Bad or missing 'credentialSubject'." );
299+ validateRun (() -> { this .getCredentialSubject (); }, "Bad or missing 'credentialSubject'." );
300300
301301 validateRun (() -> { if (this .getId () != null ) validateUrl (this .getId ()); }, "'@id' must be a valid URI." );
302302 validateRun (() -> { validateUrl (this .getIssuer ()); }, "'issuer' must be a valid URI." );
You can’t perform that action at this time.
0 commit comments