Skip to content

Commit

Permalink
remove deprecated package
Browse files Browse the repository at this point in the history
  • Loading branch information
caioeverest committed Feb 4, 2024
1 parent 20e0c00 commit c7d539a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/server/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"context"
"errors"
"fmt"
"io/ioutil"
"io"
"log/slog"
"net/http"
"strings"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit c7d539a

Please sign in to comment.