diff --git a/src/clj/auto_ap/routes/invoices.clj b/src/clj/auto_ap/routes/invoices.clj index d0a4243a..44ebf5a1 100644 --- a/src/clj/auto_ap/routes/invoices.clj +++ b/src/clj/auto_ap/routes/invoices.clj @@ -464,7 +464,7 @@ raw-transactions (vec (->> rows (filter #(not (seq (:errors %))) ) (map (fn [row] - (select-keys row [:description-original :client-code :status :high-level-category :amount :bank-account-id :date])))))] + (select-keys row [:description-original :client-code :status :high-level-category :amount :bank-account-id :date :client-id])))))] (manual-import raw-transactions) {:status 200 diff --git a/src/clj/auto_ap/yodlee/core.clj b/src/clj/auto_ap/yodlee/core.clj index 2fe9e198..e08ffe13 100644 --- a/src/clj/auto_ap/yodlee/core.clj +++ b/src/clj/auto_ap/yodlee/core.clj @@ -20,10 +20,14 @@ :proxy-port (:yodlee-proxy-port env) :retry-handler (fn [ex try-count http-context] (log/error "yodlee Error." ex) - false)} + false) + :socket-timeout 60000 + :connection-timeout 60000} {:retry-handler (fn [ex try-count http-context] (log/error "yodlee Error." ex) - false)})) + false) + :socket-timeout 60000 + :connection-timeout 60000})) (defn retry-thrice ([x] (retry-thrice x 0))