diff --git a/pkg/detectors/onfido/onfido.go b/pkg/detectors/onfido/onfido.go index 40057243b..02f4e9c8a 100644 --- a/pkg/detectors/onfido/onfido.go +++ b/pkg/detectors/onfido/onfido.go @@ -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 -} \ No newline at end of file +}