remove limit 2000 from backend call
This commit is contained in:
parent
95152a12ee
commit
48dcb9c5a5
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
;; interact with backend api
|
;; interact with backend api
|
||||||
(defn fetch-snippets []
|
(defn fetch-snippets []
|
||||||
(let [res (http/get (str (:backend-host config) "/api/snippets?limit=2000"))]
|
(let [res (http/get (str (:backend-host config) "/api/snippets"))]
|
||||||
(json/parse-string (:body res) true)))
|
(json/parse-string (:body res) true)))
|
||||||
|
|
||||||
(defn fetch-snippet [id]
|
(defn fetch-snippet [id]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue