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