Added another check for yodlee cacount status

This commit is contained in:
2023-01-25 11:32:12 -08:00
parent 67d2528166
commit 89991b0723

View File

@@ -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)))}