From 43555a4e2533cbe9e49aa49f5330c91340609977 Mon Sep 17 00:00:00 2001 From: BC Date: Thu, 20 Sep 2018 18:40:02 -0700 Subject: [PATCH] Fixed issue with duplicate import problem. Which account that was used for import is important. --- src/clj/auto_ap/yodlee/import.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/yodlee/import.clj b/src/clj/auto_ap/yodlee/import.clj index b36ed7d6..31e9112c 100644 --- a/src/clj/auto_ap/yodlee/import.clj +++ b/src/clj/auto_ap/yodlee/import.clj @@ -100,7 +100,7 @@ (mapcat (fn [transaction-group] (map (fn [index {:keys [date description-original high-level-category amount account-id] :as transaction}] - {:id (str date "-" description-original "-" amount "-" index "-" company-id) + {:id (str date "-" account-id "-" description-original "-" amount "-" index "-" company-id) :bank-account-id account-id :date (time/unparse date "YYYY-MM-dd") :amount {:amount amount}