From 89991b07231f4c3d522f8e532c4e2f6651fe2e2f Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Wed, 25 Jan 2023 11:32:12 -0800 Subject: [PATCH] Added another check for yodlee cacount status --- src/clj/auto_ap/yodlee/core2.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/yodlee/core2.clj b/src/clj/auto_ap/yodlee/core2.clj index d79cb173..7c71b331 100644 --- a/src/clj/auto_ap/yodlee/core2.clj +++ b/src/clj/auto_ap/yodlee/core2.clj @@ -312,7 +312,7 @@ {:yodlee-account/id (:id a) :yodlee-account/name (str (:providerName a) " (" (:accountName a) ")") :yodlee-account/number (:accountNumber a) - :yodlee-account/status (-> a :dataset first :additionalStatus) + :yodlee-account/status (or (-> a :dataset first :additionalStatus) "unknown") :yodlee-account/available-balance (or (-> a :currentBalance :amount) 0.0)}) (get accounts (:id pa)))}