diff --git a/lib/server/http.go b/lib/server/http.go index 7c59165..da70736 100644 --- a/lib/server/http.go +++ b/lib/server/http.go @@ -6,7 +6,7 @@ import ( "context" "errors" "fmt" - "io/ioutil" + "io" "log/slog" "net/http" "strings" @@ -115,7 +115,7 @@ func getSessionValue(session *sessions.Session, key string) (string, error) { if err != nil { return "", err } - s, err := ioutil.ReadAll(r) + s, err := io.ReadAll(r) if err != nil { return "", err }