Another minor fix to export.

This commit is contained in:
2021-01-27 17:42:06 -08:00
parent 0a8cf7e2b1
commit 0dd633c6bf

View File

@@ -169,9 +169,11 @@
(map (comp ->graphql (fn [i] (map (comp ->graphql (fn [i]
(-> i (cond-> i
(update :transaction/date to-date) true (update :transaction/date to-date)
(update :transaction/post-date to-date)))) true (update :transaction/post-date to-date)
(:transaction/payment i) (update-in [:transaction/payment :payment/date] to-date)
)))
transactions))) transactions)))
(GET "/transactions/export2" {:keys [query-params identity]} (GET "/transactions/export2" {:keys [query-params identity]}