mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
core/lint: upgrade golangci-lint, replace interface{} with any (#5099)
* core/lint: upgrade golangci-lint, replace interface{} with any * regen proto
This commit is contained in:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -52,7 +52,7 @@ func (transport *userInfoRoundTripper) RoundTrip(req *http.Request) (*http.Respo
|
|||
return nil, err
|
||||
}
|
||||
|
||||
var userInfo map[string]interface{}
|
||||
var userInfo map[string]any
|
||||
if err := json.Unmarshal(bs, &userInfo); err == nil {
|
||||
// AWS Cognito returns email_verified as a string, so we'll make it a bool
|
||||
if ev, ok := userInfo["email_verified"]; ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue