fixes broken query

This commit is contained in:
2024-11-06 09:47:37 -08:00
parent 966deb232a
commit 052e7c2d36
3 changed files with 14 additions and 6 deletions

View File

@@ -668,6 +668,10 @@
(with-precision 2
(double (.setScale (bigdec d) 2 java.math.RoundingMode/HALF_UP))))
(defn or-0 [x]
(if (nil? x)
0.0
x))
(defn wrap-implied-route-param [handler & {:as route-params}]
(fn [request]