git pushMerge branch 'master' of codecommit://integreat

This commit is contained in:
Bryce
2024-09-23 09:50:47 -07:00
3 changed files with 14 additions and 6 deletions

View File

@@ -412,9 +412,13 @@
(let [result (audit-transact (map #(if (map? %)
(dissoc % :payment/pdf-data)
%) checks) id)]
(doseq [[_ i] (:tempids result)]
(solr/touch-with-ledger i)))
(try
(doseq [[_ i] (:tempids result)]
(solr/touch-with-ledger i))
(catch Exception e
(alog/error ::cant-save-solr
:error e))))
{:invoices (d-invoices/get-multi (map :invoice-id invoice-payments))
:pdf-url (if (= type :payment-type/check)
(mu/trace ::merge-pdfs