rabobank-blockchain/ula-vp-controller

View on GitHub
src/service/verifiable-credential-helper.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function findVCsForChallengeRequest has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public async findVCsForChallengeRequest (challengeRequest: ChallengeRequest, eventHandler: EventHandler):
    Promise<{ matching: VerifiableCredential[], missing: { predicate: string, reason: string }[] }> {
    if (challengeRequest.toVerify.length === 0) {
      return {
        matching: [],
Severity: Major
Found in src/service/verifiable-credential-helper.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status