two background task fixes.

This commit is contained in:
Bryce
2023-05-23 08:38:08 -07:00
parent 4c38393842
commit be0ff9cd40
2 changed files with 3 additions and 0 deletions

View File

@@ -293,6 +293,8 @@
[]))
(defn code-invoice [invoice]
(mu/log ::trying-to-code-invoice
:invoice invoice)
(let [db (dc/db auto-ap.datomic/conn)
client-id (:invoice/client invoice)
vendor-id (:invoice/vendor invoice)

View File

@@ -32,6 +32,7 @@
#:transaction
{:post-date (coerce/to-date (atime/parse post-date "YYYY-MM-dd"))
:id (di/sha-256 (str id))
:db/id (random-tempid)
:raw-id (str id)
:account-id account-id
:date (if use-date-instead-of-post-date?