Skip to content

Commit

Permalink
Merge pull request #56 from 0xPolygonID/fix/remove-cred-subject
Browse files Browse the repository at this point in the history
remove check
  • Loading branch information
vmidyllic authored Mar 26, 2024
2 parents 64e7e26 + 6c02ddd commit d16f939
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,6 @@ func validateRequestQuery(offChainRequest bool, scope []ScopeRequest) error {
if scope.Query["allowedIssuers"] == nil {
return errors.New("allowedIssuers cannot be empty")
}

if scope.Query["credentialSubject"] == nil {
return errors.New("credentialSubject cannot be empty")
}
}

return nil
Expand Down

0 comments on commit d16f939

Please # to comment.