       {:collection {:version hateoas/json-collection-version
                     :href "/"
                     :links full-links
-                    :items (map org-collection-links with-premium-filter)}}
+                    :items (map #(org-collection-links % user) with-premium-filter)}}
       {:pretty config/pretty?})))
(defn- digest-partial-link [org]
  (hateoas/link-map "digest" hateoas/GET (str (org-urls/digest org) "?direction=after&start=$0") {:accept mt/entry-collection-media-type}
   {:replace {:start "$0"}}))

(defn- partial-secure-link []
  (hateoas/link-map "partial-secure" hateoas/GET (entry-urls/secure-entry "$0" "$1") {:accept mt/entry-media-type}

(defn- remove-author-link [org user-id]
  (hateoas/remove-link (org-urls/org-author org user-id)))

(defn- replies-link [org]
  (hateoas/link-map "replies" hateoas/GET (org-urls/replies org) {:accept mt/entry-collection-media-type}))

