             [uxbox.state :as ust]
             [uxbox.util.transit :as t]))
 
-(defn- decode-image-collection
-  [{:keys [data] :as coll}]
-  coll)
-  ;; (merge coll
-  ;;        (when data {:data (t/decode data)})))
-
-(defn- decode-payload
-  [{:keys [payload] :as rsp}]
-  rsp)
-  ;; (if (sequential? payload)
-  ;;   (assoc rsp :payload (mapv decode-image-collection payload))
-  ;;   (assoc rsp :payload (decode-image-collection payload))))
 
 (defmethod request :fetch/image-collections
   [_]
   (let [params {:url (str url "/library/image-collections")
                 :method :get}]
-    (->> (send! params)
-         (rx/map decode-payload))))
+    (send! params)))
 
 (defmethod request :delete/image-collection
   [_ id]

        params {:url (str url "/library/image-collections")
                :method :post
                :body body}]
    (->> (send! params)
         (rx/map decode-payload))))

(defmethod request :update/image-collection
  [_ {:keys [id data] :as body}]

        params {:url (str url "/library/images/" coll)
                :method :post
                :body (build-body)}]
    (send! params)))

(defmethod request :delete/image
  [_ id]
