Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Hellawell <[email protected]>
  • Loading branch information
cykoder committed Sep 28, 2020
1 parent 56de60f commit b0609ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/vc.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ function hasDockRevocation(status) {
const id = status[credentialIDField];
if (status
&& (
jsonld.getValues(status, credentialTypeField).includes(RevRegType) ||
jsonld.getValues(status, credentialTypeField).includes('/' + RevRegType)
jsonld.getValues(status, credentialTypeField).includes(RevRegType)
|| jsonld.getValues(status, credentialTypeField).includes(`/${RevRegType}`)
)
&& id.startsWith(DockRevRegQualifier)
&& isHexWithGivenByteSize(id.slice(DockRevRegQualifier.length), RevRegIdByteSize)) {
Expand Down

0 comments on commit b0609ee

Please sign in to comment.