Update onfido.go

removed comment
This commit is contained in:
lucasan1 2024-09-18 14:51:31 +02:00 committed by GitHub
parent b434295912
commit 7196f5f113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}
}