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

	pathParams := mux.Vars(r)
	token := pathParams["token"]

	vrr, err := p.backend.ProcessVoteResults(token)
	if err != nil {
		RespondWithError(w, r, 0,
			"handleVoteResults: ProcessVoteResults %v",
			err)
		return
	}

	util.RespondWithJSON(w, http.StatusOK, vrr)
}
// handleVoteResults returns a proposal + all voting action.
handleVoteResults returns a proposal + all voting action.
// handleVoteResults returns a proposal + all voting action .
func (p *politeiawww) handleVoteResults(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleVoteResults")
	pathParams := mux.Vars(r)
	token := pathParams["token"]
	vrr, err := p.backend.ProcessVoteResults(token)
	if err != nil {
		RespondWithError(w, r, 0,
			"handleVoteResults: ProcessVoteResults %v",
			err)
		return
	}
	util.RespondWithJSON(w, http.StatusOK, vrr)
}
func ( p * politeiawww ) handleVoteResults ( w http . ResponseWriter , r * http . Request ) { log . Tracef ( " " ) pathParams := mux . Vars ( r ) token := pathParams [ " " ] vrr , err := p . backend . ProcessVoteResults ( token ) if err != nil { RespondWithError ( w , r , 0 , " " , err ) return } util . RespondWithJSON ( w , http . StatusOK , vrr ) }
handleVoteResults returns a proposal + all voting action.
handleVoteResults returns a proposal + all voting action .