From 2356a9e439ff25c6d981f760f5a077f72d39de05 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Mon, 28 Jan 2019 17:43:49 -0800 Subject: [PATCH] and made last export work correctly. --- src/clj/auto_ap/routes/exports.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clj/auto_ap/routes/exports.clj b/src/clj/auto_ap/routes/exports.clj index 8c3571f8..38d3966d 100644 --- a/src/clj/auto_ap/routes/exports.clj +++ b/src/clj/auto_ap/routes/exports.clj @@ -58,11 +58,11 @@ (let [[transactions] (d-transactions/get-graphql {:client-code (query-params "client-code") #_#_:original-id (Integer/parseInt (query-params "original")) :limit Integer/MAX_VALUE}) - transactions (map <-graphql transactions)] - (map (fn [i] + ] + (map (comp ->graphql (fn [i] (-> i (update :transaction/date to-date) - (update :transaction/post-date to-date))) + (update :transaction/post-date to-date)))) transactions))))