From 28ce4db049dfcae46a7136e24fedbe0261026e90 Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Fri, 30 Mar 2018 11:37:32 +0200 Subject: [PATCH] update value-usd key in client as it is now renamed on server --- src/cljs/commiteth/subscriptions.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cljs/commiteth/subscriptions.cljs b/src/cljs/commiteth/subscriptions.cljs index c6aaf57..4e1779b 100644 --- a/src/cljs/commiteth/subscriptions.cljs +++ b/src/cljs/commiteth/subscriptions.cljs @@ -88,7 +88,7 @@ :<- [:owner-bounties] (fn [owner-bounties _] (let [sum-dollars (fn sum-dollars [bounties] - (reduce + (map #(js/parseFloat (:value_usd %)) bounties))) + (reduce + (map #(js/parseFloat (:value-usd %)) bounties))) {:keys [paid unpaid]} (group-by #(if (:paid? %) :paid :unpaid) (vals owner-bounties))] {:paid {:count (count paid)