v1: 200 on PUT

This commit is contained in:
Jimmy Zelinskie 2016-02-23 16:28:01 -05:00
parent 6b8e198ef9
commit c06df1affd

View File

@ -336,8 +336,8 @@ func putFix(w http.ResponseWriter, r *http.Request, p httprouter.Params, ctx *co
return putFixRoute, http.StatusInternalServerError
}
w.WriteHeader(http.StatusCreated)
return putFixRoute, http.StatusCreated
w.WriteHeader(http.StatusOK)
return putFixRoute, http.StatusOK
}
func deleteFix(w http.ResponseWriter, r *http.Request, p httprouter.Params, ctx *context.RouteContext) (string, int) {