func (p *politeiawww) handleAllVetted(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleAllVetted")

	// Get the all vetted command.
	var v v1.GetAllVetted
	err := util.ParseGetParams(r, &v)
	if err != nil {
		RespondWithError(w, r, 0, "handleAllVetted: ParseGetParams",
			v1.UserError{
				ErrorCode: v1.ErrorStatusInvalidInput,
			})
		return
	}

	vr := p.backend.ProcessAllVetted(v)
	util.RespondWithJSON(w, http.StatusOK, vr)
}
// handleAllVetted replies with the list of vetted proposals.
handleAllVetted replies with the list of vetted proposals.
// handleAllVetted replies with the list of vetted proposals .
func (p *politeiawww) handleAllVetted(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleAllVetted")
	var v v1.GetAllVetted
	err := util.ParseGetParams(r, &v)
	if err != nil {
		RespondWithError(w, r, 0, "handleAllVetted: ParseGetParams",
			v1.UserError{
				ErrorCode: v1.ErrorStatusInvalidInput,
			})
		return
	}
	vr := p.backend.ProcessAllVetted(v)
	util.RespondWithJSON(w, http.StatusOK, vr)
}
func ( p * politeiawww ) handleAllVetted ( w http . ResponseWriter , r * http . Request ) { log . Tracef ( " " ) var v v1 . GetAllVetted err := util . ParseGetParams ( r , & v ) if err != nil { RespondWithError ( w , r , 0 , " " , v1 . UserError { ErrorCode : v1 . ErrorStatusInvalidInput , } ) return } vr := p . backend . ProcessAllVetted ( v ) util . RespondWithJSON ( w , http . StatusOK , vr ) }
handleAllVetted replies with the list of vetted proposals.
handleAllVetted replies with the list of vetted proposals .
// Get the all vetted command.