Hopefully makes yodlee less busy.

This commit is contained in:
2022-01-09 08:34:20 -08:00
parent 51e9e6a83b
commit 6c83b40d95
5 changed files with 302 additions and 356 deletions

View File

@@ -218,7 +218,7 @@
(defn maybe-autopay-invoices [{:transaction/keys [amount client bank-account] :as transaction}]
(when-let [autopay-invoices-matches (seq (match-transaction-to-unfulfilled-autopayments amount client))]
(add-new-payment autopay-invoices-matches bank-account client)))
(add-new-payment transaction autopay-invoices-matches bank-account client)))
(defn maybe-clear-expected-deposit [{:transaction/keys [amount client date] :as transaction}]
(when (>= amount 0.0)

View File

@@ -59,7 +59,7 @@
(d/db conn))]
(doseq [[yodlee-account bank-account client-id] account-lookup
transaction (try
(client/get-specific-transactions yodlee-account)
(client/get-specific-transactions yodlee-account (client/get-auth-header))
(catch Exception e
(log/warn e)
[]))]