fixes broken query
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user