mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Update onfido.go
removed comment
This commit is contained in:
parent
b434295912
commit
7196f5f113
1 changed files with 1 additions and 2 deletions
|
@ -65,7 +65,6 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
|
|||
url := fmt.Sprintf("https://api.%s.onfido.com/v3/validate_api_token", region)
|
||||
req, err := http.NewRequestWithContext(ctx, "POST", url, nil)
|
||||
|
||||
// req, err := http.NewRequestWithContext(ctx, "POST", "https://api.eu.onfido.com/v3/validate_api_token", nil)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
|
@ -89,4 +88,4 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
|
|||
|
||||
func (s Scanner) Type() detectorspb.DetectorType {
|
||||
return detectorspb.DetectorType_Onfido
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue