Skip to content

Commit

Permalink
fix: solve None RSH mode
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsaporiti committed Nov 1, 2023
1 parent 9ee0791 commit 7aca6c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,6 @@ func (c *Configuration) sanitizeCredentialStatus(_ context.Context, host string)
}

if c.CredentialStatus.RHSMode == none {
if c.CredentialStatus.DirectStatus.URL == "" {
return fmt.Errorf("ISSUER_CREDENTIAL_STATUS_DIRECT_URL value is missing")
}
c.CredentialStatus.DirectStatus.URL = host
c.CredentialStatus.CredentialStatusType = sparseMerkleTreeProof
}
Expand Down

0 comments on commit 7aca6c3

Please sign in to comment.