0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -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
[type {:keys [page] :as params}]
(let [url (str url "/pages/" page "/history")]
(send! {:method :get :url url})))
(let [url (str url "/pages/" page "/history")
query (select-keys params [:max :since])]
(send! {:method :get :url url :query query })))
(defmethod -do :delete/page
[_ id]