diff --git a/internal/modproxy/modproxy.go b/internal/modproxy/modproxy.go index 70bc8ec..00d31c1 100644 --- a/internal/modproxy/modproxy.go +++ b/internal/modproxy/modproxy.go @@ -313,7 +313,7 @@ func FetchRetractions(mod *Module) (Retractions, error) { if err != nil { return nil, err } - if res.StatusCode != 200 { + if res.StatusCode != http.StatusOK { msg := string(body) if msg == "" { msg = res.Status