remove continue and use break (#1649)

Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Harshavardhana
2022-03-01 17:03:57 -08:00
committed by GitHub
parent f92f3e3382
commit c86f57862d

View File

@@ -161,7 +161,7 @@ func NewOauth2ProviderClient(scopes []string, r *http.Request, httpClient *http.
for _, responseType := range ddoc.ResponseTypesSupported {
if supportedResponseTypes.Contains(responseType) {
supported = true
continue
break // one support is enough
}
}