updated linter

This commit is contained in:
Gani Georgiev
2022-12-16 17:06:03 +02:00
parent 738f71f244
commit 687a79b450
7 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package auth
import (
"context"
"fmt"
"io/ioutil"
"io"
"net/http"
"golang.org/x/oauth2"
@@ -125,7 +125,7 @@ func (p *baseProvider) sendRawUserDataRequest(req *http.Request, token *oauth2.T
}
defer response.Body.Close()
result, err := ioutil.ReadAll(response.Body)
result, err := io.ReadAll(response.Body)
if err != nil {
return nil, err
}