      :id (:workbook/id workbook)})
 
   :handle-not-found
-  (fn [_]
-    {:links {:up {:href (service-document-path)}}
-     :error "Workbook not found."}))
+  {:links {:up {:href (service-document-path)}}
+   :error "Workbook not found."})
 
 ;; ---- Create Workbook -------------------------------------------------------
 

  (fnk [branch] (branch-path branch))

  :handle-not-found
  (fn [_]
    {:links {:up {:href (service-document-path)}}
     :error "Workbook not found."}))

;; ---- Add Query -------------------------------------------------------------


     {:lens/update-branch (update-branch-form branch)}})

  :handle-not-found
  {:links {:up {:href (service-document-path)}}
   :error "Branch not found."}

  :handle-precondition-failed
  {:links {:up {:href (service-document-path)}}
   :error "Precondition failed."})

;; ---- Branch List -----------------------------------------------------------

