fixing monumental issue where everything was unlinked

This commit is contained in:
2021-01-27 17:28:45 -08:00
parent d2c79bfe9a
commit 0a8cf7e2b1
2 changed files with 1 additions and 2 deletions

View File

@@ -159,7 +159,7 @@
(into (map (fn [[invoice-payment]]
[:db/retractEntity invoice-payment])
(d/query {:query {:find ['?ip]
:in ['$]
:in ['$ '?p]
:where ['[?ip :invoice-payment/payment ?p]]}
:args [(d/db conn) (:db/id payment)]} ))))
(:id context))