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

make code a little lispier :heart_eyes_cat:

parent f0da2c16
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@
[results]
{:pre [(map? results)
(sequential? (:rows results))]}
(assoc results :rows (take max-result-rows (:rows results))))
(update-in results [:rows] (partial take max-result-rows)))
;; ### ADD-ROW-COUNT-AND-STATUS
......
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