Fixed valueOf: check external only if value is not null

This commit is contained in:
Xavi Aracil 2022-12-20 13:08:28 +01:00
parent c4666c4913
commit 1e51ac3909

View File

@ -115,11 +115,11 @@ public class Assertion extends Credential {
return found;
}
}
}
// check external type
if (validateIri(typeNode)) {
return External;
}
}
return Unknown;