chore: fix some typos in comment and logs (#4333)

Signed-off-by: bytesingsong <bytesing@icloud.com>
This commit is contained in:
bytesingsong
2025-07-14 02:31:15 +08:00
committed by GitHub
parent d8e829ad18
commit b69a7652b9
2 changed files with 2 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ func fromURL(ctx context.Context, imageUrl *url.URL) (io.ReadCloser, string, err
}
if resp.StatusCode != http.StatusOK {
resp.Body.Close()
return nil, "", fmt.Errorf("error retrieveing artwork from %s: %s", imageUrl, resp.Status)
return nil, "", fmt.Errorf("error retrieving artwork from %s: %s", imageUrl, resp.Status)
}
return resp.Body, imageUrl.String(), nil
}