Fix merge mistake no biggie

This commit is contained in:
Erik 2023-05-02 16:12:51 +02:00
parent 5505a33557
commit 09e2dc0eb2

View File

@ -57,7 +57,7 @@ func (p Proxy) execute(c command) (string, error) {
if err != nil {
return "", errors.New(fmt.Sprintf("error making http request: %s\n", err))
}
body, err := ioutil.ReadAll(res.Body)
body, err := io.ReadAll(res.Body)
if err != nil {
return "", errors.New(fmt.Sprintf("error reading response: %s\n", err))
}