Commit 965dc031 authored by David Vorick's avatar David Vorick

implementation typo

parent e1a84fa3
......@@ -202,7 +202,7 @@ func (api *API) parseHostSettings(req *http.Request) (modules.HostInternalSettin
func (api *API) hostEstimateScoreGET(w http.ResponseWriter, req *http.Request, _ httprouter.Params) {
// This call requires a renter, check that it is present.
if api.renter == nil {
WriteError(w, Error("cannot call /host/estimatescore without the renter module"), http.StatusBadRequest)
WriteError(w, Error{"cannot call /host/estimatescore without the renter module"}, http.StatusBadRequest)
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment