   []
   (try
     (infof "delete-trash")
-    (let [trash-id -1
-          {:keys [:bookmark/parent-id :bookmark/link-count]} (get @bookmarks trash-id)
+    (let [{:keys [:bookmark/parent-id]} (get @bookmarks trash-id)
           changed-ids [parent-id trash-id]
           deleted-ids (get-in @bookmarks [trash-id :bookmark/children])]
       ;; Remove deleted bookmarks from the cache.

      (swap! bookmarks update-in [trash-id :bookmark/children] vector)

      ;; Subtract the link count from the ancestors.
      (swap! bookmarks update-in [parent-id :bookmark/link-count] #(- % link-count))
      (swap! bookmarks update-in [trash-id :bookmark/link-count] (fn [_] 0))

      ;; Persist the changes.


(timbre/refer-timbre)

(def trash-id -1)

(defn build-response "Build a response with the changed bookmarks."
  [changed-ids]
  (let [latest-revision (ds/get-latest-revision)]
