       :else
       reply)))
 
-(defn- update-poll-vote [conn entry poll user reply-id add?]
+(defn- update-poll-vote [conn org board entry poll user reply-id add?]
   (let [user-has-voted? (some #(when (= % (:user-id user)) %) (:replies poll))
         
         updated-poll-replies (mapv (partial update-reply (:user-id user) reply-id add?) (:replies poll))

        filtered-polls (filterv #(not= (:poll-uuid %) (:poll-uuid poll)) (:polls entry))
        final-entry (assoc entry :polls (vec (conj filtered-polls updated-poll)))
        updated-entry (entry-res/update-entry-no-user! conn (:uuid entry) final-entry)]
    {:updated-entry updated-entry}))

;; ----- Resources - see: http://clojure-liberator.github.io/liberator/assets/img/decision-graph.svg

                false))})

  ;; Actions
  :post! (fn [ctx] (update-poll-vote conn (:existing-org ctx) (:existing-board ctx) (:existing-entry ctx)
                    (:existing-poll ctx) (:user ctx) reply-id true))
  :delete! (fn [ctx] (update-poll-vote conn (:existing-org ctx) (:existing-board ctx) (:existing-entry ctx)
                    (:existing-poll ctx) (:user ctx) reply-id false))

  ;; Responses
  :handle-ok (by-method {
