Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Mar 26, 2024
1 parent 64e7e26 commit 6c02ddd
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 6c02ddd

Please # to comment.