   :available-media-types (by-method {
                             :delete [mt/poll-reply-media-type]})
   :handle-not-acceptable (by-method {
-                            :delete (api-common/only-accept 406 mt/entry-poll-media-type)})
+                            :delete (api-common/only-accept 406 mt/poll-media-type)})
 
   ;; Media type client sends
   :known-content-type? true

(ns oc.storage.api.polls
  "Liberator API for poll resources."
  (:require [clojure.string :as s]
            [defun.core :refer (defun-)]
            [if-let.core :refer (if-let* when-let*)]
            [taoensso.timbre :as timbre]
            [compojure.core :as compojure :refer (OPTIONS POST DELETE)]
            [liberator.core :refer (defresource by-method)]

  :available-media-types (by-method {
                            :post [mt/poll-reply-media-type]})
  :handle-not-acceptable (by-method {
                            :post (api-common/only-accept 406 mt/poll-media-type)})

  ;; Media type client sends
  :known-content-type? (by-method {
