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:
parent
3f1a14c94e
commit
06142bc285
1 changed files with 3 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue