another fix.

This commit is contained in:
Bryce Covert
2019-09-30 21:47:36 -07:00
parent 6c6f49dc25
commit c7c63f6a02

View File

@@ -138,9 +138,7 @@
(when (:transaction/payment transaction)
(throw (ex-info "Transaction already associated with a payment" {:validation-error "Transaction already associated with a payment"})))
(throw (ex-info "Transaction already associated with a payment" {:validation-error "Transaction already associated with a payment"}))))
@(d/transact (d/connect uri)
(transduce
(map #(into
@@ -154,7 +152,8 @@
(:transaction/accounts %))))
into
[]
transactions))))
transactions))
)
(transduce
(comp
(map d-transactions/get-by-id)