Skip to content
Snippets Groups Projects
Commit 21b2458f authored by Cam Saul's avatar Cam Saul
Browse files

fix typo

parent 1356c0e4
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@
;; primary search endpoint
(defendpoint POST "/" [:as {{:keys [org page results_per_page load_all q models]
:org {page 1
results_per_page 10}} :body}]
:or {page 1
results_per_page 10}} :body}]
(let [models (if (empty? models) (vals search-choices) ; if search-choices is unspecified default to all choices
(->> models ; otherwise get corresponding model-choice maps
(map keyword)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment