Skip to content

Commit

Permalink
Merge pull request #57 from 0xPolygonID/develop
Browse files Browse the repository at this point in the history
return fix with empty credential subject
  • Loading branch information
vmidyllic authored Mar 26, 2024
2 parents 30e25e1 + d16f939 commit 8ccec13
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 8ccec13

Please sign in to comment.