another fix.
This commit is contained in:
@@ -138,9 +138,7 @@
|
|||||||
|
|
||||||
(when (:transaction/payment transaction)
|
(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)
|
@(d/transact (d/connect uri)
|
||||||
(transduce
|
(transduce
|
||||||
(map #(into
|
(map #(into
|
||||||
@@ -154,7 +152,8 @@
|
|||||||
(:transaction/accounts %))))
|
(:transaction/accounts %))))
|
||||||
into
|
into
|
||||||
[]
|
[]
|
||||||
transactions))))
|
transactions))
|
||||||
|
)
|
||||||
(transduce
|
(transduce
|
||||||
(comp
|
(comp
|
||||||
(map d-transactions/get-by-id)
|
(map d-transactions/get-by-id)
|
||||||
|
|||||||
Reference in New Issue
Block a user