From 72d78abfca99f13336f05517757e164d3107170a Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Sun, 23 Oct 2022 09:31:33 -0700 Subject: [PATCH] oops --- src/clj/auto_ap/graphql/ledger.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/graphql/ledger.clj b/src/clj/auto_ap/graphql/ledger.clj index 6fa19f33..8aa276eb 100644 --- a/src/clj/auto_ap/graphql/ledger.clj +++ b/src/clj/auto_ap/graphql/ledger.clj @@ -555,7 +555,7 @@ :account account :journal_entries journal-entries :total (- (or (reduce + 0.0 (map #(or (:debit %) 0.0) journal-entries)) 0.0) - (or (reduce + 0.0 (map (or (:credit %) 0.0) journal-entries)) 0.0)) + (or (reduce + 0.0 (map #(or (:credit %) 0.0) journal-entries)) 0.0)) })})