0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

Enable sending parameters for retrieve-history repo impl.

This commit is contained in:
Andrey Antukh 2016-03-27 18:28:43 +03:00
parent 3f1a14c94e
commit 06142bc285

View file

@ -25,8 +25,9 @@
(defmethod -do :fetch/page-history (defmethod -do :fetch/page-history
[type {:keys [page] :as params}] [type {:keys [page] :as params}]
(let [url (str url "/pages/" page "/history")] (let [url (str url "/pages/" page "/history")
(send! {:method :get :url url}))) query (select-keys params [:max :since])]
(send! {:method :get :url url :query query })))
(defmethod -do :delete/page (defmethod -do :delete/page
[_ id] [_ id]