updated linter

This commit is contained in:
Gani Georgiev committed 2022-12-16 17:06:03 +02:00
1 parent 738f71f244
commit 687a79b450
7 files changed
+14 -12

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ package auth
import (
"encoding/json"
"io/ioutil"
"io"
"strconv"
"golang.org/x/oauth2"
@@ -75,7 +75,7 @@ func (p *Github) FetchAuthUser(token *oauth2.Token) (*AuthUser, error) {
}
defer response.Body.Close()
content, err := ioutil.ReadAll(response.Body)
content, err := io.ReadAll(response.Body)
if err != nil {
return user, err
}